From b5b6ad368e0ef8794048969a356f6a00194dde67 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Fri, 24 Jun 2011 18:51:30 -0700 Subject: [PATCH 01/52] Bug 350242 - NullPointerException in creation of new class. --- .../ui/wizards/classwizard/NewClassCodeGenerator.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassCodeGenerator.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassCodeGenerator.java index 54c82f79ec8..e9438eaa4f6 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassCodeGenerator.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassCodeGenerator.java @@ -467,9 +467,11 @@ public class NewClassCodeGenerator { String body = constructMethodDeclarations(tu, publicMethods, protectedMethods, privateMethods, lineDelimiter); body = CodeGeneration.getClassBodyContent(tu, fClassName, body, lineDelimiter); - code.append(body); - if (!body.endsWith(lineDelimiter)) { - code.append(lineDelimiter); + if (body != null) { + code.append(body); + if (!body.endsWith(lineDelimiter)) { + code.append(lineDelimiter); + } } code.append("};"); //$NON-NLS-1$ return removeRedundantVisibilityLabels(code.toString()); From 7170b3a5152d09fad1b5d36cd4675230c63f1279 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Fri, 24 Jun 2011 18:58:58 -0700 Subject: [PATCH 02/52] Fixed NPE in AbstractCompositeFactory.java --- .../composite/AbstractCompositeFactory.java | 55 ++++++++++--------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/AbstractCompositeFactory.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/AbstractCompositeFactory.java index 374e27ac38e..b10ff4aa34d 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/AbstractCompositeFactory.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/AbstractCompositeFactory.java @@ -6,8 +6,8 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Andrew Ferguson (Symbian) - Initial implementation - * Markus Schorn (Wind River Systems) + * Andrew Ferguson (Symbian) - Initial implementation + * Markus Schorn (Wind River Systems) *******************************************************************************/ package org.eclipse.cdt.internal.core.index.composite; @@ -43,16 +43,6 @@ public abstract class AbstractCompositeFactory implements ICompositesFactory { ); } - /* - * @see org.eclipse.cdt.internal.core.index.composite.ICompositesFactory#getCompositeBindings(org.eclipse.cdt.core.index.IIndex, org.eclipse.cdt.internal.core.index.IIndexFragmentBinding[]) - */ - public final IIndexBinding[] getCompositeBindings(IIndexFragmentBinding[] bindings) { - IIndexBinding[] result = new IIndexBinding[bindings.length]; - for(int i=0; i ts = new TreeSet(fragmentComparator); - for (IIndexFragmentBinding[] fragmentBinding : fragmentBindings) - for (IIndexFragmentBinding element : fragmentBinding) - ts.add(element); + for (IIndexFragmentBinding[] array : fragmentBindings) { + if (array != null) { + for (IIndexFragmentBinding element : array) { + ts.add(element); + } + } + } return ts.toArray(new IIndexFragmentBinding[ts.size()]); } @@ -113,20 +114,20 @@ public abstract class AbstractCompositeFactory implements ICompositesFactory { * @return the representative binding as defined above */ protected IIndexFragmentBinding findOneBinding(IBinding binding, boolean allowDeclaration) { - try{ + try { IIndexFragmentBinding[] ibs= findEquivalentBindings(binding); - IBinding def= null; - IBinding dec= ibs.length>0 ? ibs[0] : null; + IIndexFragmentBinding def= null; + IIndexFragmentBinding dec= ibs.length > 0 ? ibs[0] : null; for (IIndexFragmentBinding ib : ibs) { - if(ib.hasDefinition()) { + if (ib.hasDefinition()) { def= ib; - } else if(allowDeclaration && ib.hasDeclaration()) { + } else if (allowDeclaration && ib.hasDeclaration()) { dec= ib; } } - return (IIndexFragmentBinding) (def == null ? dec : def); - } catch(CoreException ce) { - CCorePlugin.log(ce); + return def == null ? dec : def; + } catch (CoreException e) { + CCorePlugin.log(e); } throw new CompositingNotImplementedError(); } @@ -141,7 +142,7 @@ public abstract class AbstractCompositeFactory implements ICompositesFactory { public int compare(IIndexFragmentBinding f1, IIndexFragmentBinding f2) { for (IIndexFragmentBindingComparator comparator : comparators) { int cmp= comparator.compare(f1, f2); - if(cmp!=Integer.MIN_VALUE) { + if (cmp != Integer.MIN_VALUE) { return cmp; } } From 64f069c55299b2cd3a5fb98ad27043926ad628e0 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Fri, 24 Jun 2011 19:03:36 -0700 Subject: [PATCH 03/52] Bug 349744 - NPE in PDOMSearchQuery. --- .../src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java index 92990069fb9..796d54d4812 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java @@ -380,7 +380,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery { } else { for (IIndexName name : bindingNames) { String fullPath= name.getFile().getLocation().getFullPath(); - if (accept(fullPath)) + if (fullPath != null && accept(fullPath)) names.add(name); } } From d34a4195d5bb8b650d847531154a8ba20c46417a Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Sat, 25 Jun 2011 11:55:26 -0400 Subject: [PATCH 04/52] Added .gitignore for plug-in bin and target directories that are produced during builds (maven creates target). --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..79296c3adc3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/*/*/bin +/*/*/target From ab8f68cc5b25f9fcad5f7d2bed94f3eab4fc9ff1 Mon Sep 17 00:00:00 2001 From: Marc-Andre Laperle Date: Sat, 25 Jun 2011 15:00:02 -0400 Subject: [PATCH 05/52] Bug 335402 - Breakpoint Sound Action fails to change wav file Fixed hang on Linux gtk --- .../SoundActionComposite.java | 19 ++++++++++++++----- .../ui/breakpointactions/SoundActionPage.java | 18 +++++++++--------- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/SoundActionComposite.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/SoundActionComposite.java index 9792bddbbb2..56f8faed244 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/SoundActionComposite.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/SoundActionComposite.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007 Nokia and others. + * Copyright (c) 2007, 2011 Nokia and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -65,7 +65,16 @@ public class SoundActionComposite extends Composite { comboModifyListener = new ModifyListener() { public void modifyText(ModifyEvent e) { if (combo_1.getText().length() > 0) { - setSoundFile(combo_1.getText()); + String filePath = combo_1.getText(); + File soundFile = new File(filePath); + if (soundFile.exists()) { + soundFilePathLabel.setText(filePath); + tryItButton.setEnabled(true); + selectedSoundFile = soundFile; + } else { + soundFilePathLabel.setText(Messages.getString("SoundActionComposite.9")); //$NON-NLS-1$ + tryItButton.setEnabled(false); + } } } }; @@ -136,11 +145,11 @@ public class SoundActionComposite extends Composite { private void rebuildRecentSoundsCombo() { combo_1.removeAll(); - ArrayList sortedSounds = new ArrayList(soundActionPage.getRecentSounds()); + ArrayList sortedSounds = new ArrayList(soundActionPage.getRecentSounds()); Collections.sort(sortedSounds); - for (Iterator iter = sortedSounds.iterator(); iter.hasNext();) { - File element = (File) iter.next(); + for (Iterator iter = sortedSounds.iterator(); iter.hasNext();) { + File element = iter.next(); combo_1.add(element.getAbsolutePath()); } } diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/SoundActionPage.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/SoundActionPage.java index c8bab1b750d..7ca9e1734b7 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/SoundActionPage.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/SoundActionPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007 Nokia and others. + * Copyright (c) 2007, 2011 Nokia and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -53,7 +53,7 @@ public class SoundActionPage extends PlatformObject implements IBreakpointAction private SoundActionComposite editor = null; private String mediaPath = ""; //$NON-NLS-1$ - private ArrayList recentSounds = new ArrayList(); + private ArrayList recentSounds = new ArrayList(); private SoundAction soundAction; @@ -78,8 +78,8 @@ public class SoundActionPage extends PlatformObject implements IBreakpointAction String soundFilePath = soundFile.getAbsolutePath(); int removeIndex = -1; int fileCount = 0; - for (Iterator iter = recentSounds.iterator(); iter.hasNext() && removeIndex < 0;) { - File element = (File) iter.next(); + for (Iterator iter = recentSounds.iterator(); iter.hasNext() && removeIndex < 0;) { + File element = iter.next(); if (element.getAbsolutePath().equals(soundFilePath)) removeIndex = fileCount; fileCount++; @@ -96,7 +96,7 @@ public class SoundActionPage extends PlatformObject implements IBreakpointAction this.soundAction = (SoundAction) action; loadRecentSounds(); if (soundAction.getSoundFile() == null && recentSounds.size() > 0) - soundAction.setSoundFile((File) recentSounds.get(0)); + soundAction.setSoundFile(recentSounds.get(0)); editor = new SoundActionComposite(composite, style, this); return editor; } @@ -105,7 +105,7 @@ public class SoundActionPage extends PlatformObject implements IBreakpointAction return mediaPath; } - public ArrayList getRecentSounds() { + public ArrayList getRecentSounds() { return recentSounds; } @@ -150,7 +150,7 @@ public class SoundActionPage extends PlatformObject implements IBreakpointAction return; } - recentSounds = new ArrayList(); + recentSounds = new ArrayList(); Element root = null; DocumentBuilder parser; @@ -201,8 +201,8 @@ public class SoundActionPage extends PlatformObject implements IBreakpointAction Element rootElement = doc.createElement("recentSounds"); //$NON-NLS-1$ doc.appendChild(rootElement); - for (Iterator iter = recentSounds.iterator(); iter.hasNext();) { - File soundFile = (File) iter.next(); + for (Iterator iter = recentSounds.iterator(); iter.hasNext();) { + File soundFile = iter.next(); Element element = doc.createElement("soundFileName"); //$NON-NLS-1$ element.setAttribute("name", soundFile.getAbsolutePath()); //$NON-NLS-1$ From b48eb1807f14ba100585a67b29bd9cad3f597a33 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sat, 25 Jun 2011 16:22:34 -0700 Subject: [PATCH 06/52] Added bin directory to .gitignore --- dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/.gitignore diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/.gitignore b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/.gitignore new file mode 100644 index 00000000000..5e56e040ec0 --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/.gitignore @@ -0,0 +1 @@ +/bin From 30a6e551f5d7c355da1e834750109c89ecc1e293 Mon Sep 17 00:00:00 2001 From: Marc-Andre Laperle Date: Sat, 25 Jun 2011 19:57:25 -0400 Subject: [PATCH 07/52] Bug 350363 - Include Files tab doesn't offer the language GNU C++ --- build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml index f26ee076aae..ddc4c317689 100644 --- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml +++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml @@ -1328,6 +1328,14 @@ valueType="includePath" browseType="directory"> + Date: Sat, 25 Jun 2011 22:29:01 -0400 Subject: [PATCH 08/52] Bug 346559 - [fp] undeserved "no return in function returning non-void" when using goto --- .../codan/internal/checkers/ReturnChecker.java | 5 +++++ .../core/internal/checkers/ReturnCheckerTest.java | 15 +++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java index 548eae05997..b917dece9bd 100644 --- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java +++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java @@ -31,6 +31,7 @@ import org.eclipse.cdt.core.dom.ast.IASTForStatement; import org.eclipse.cdt.core.dom.ast.IASTFunctionDeclarator; import org.eclipse.cdt.core.dom.ast.IASTFunctionDefinition; import org.eclipse.cdt.core.dom.ast.IASTIfStatement; +import org.eclipse.cdt.core.dom.ast.IASTLabelStatement; import org.eclipse.cdt.core.dom.ast.IASTNamedTypeSpecifier; import org.eclipse.cdt.core.dom.ast.IASTReturnStatement; import org.eclipse.cdt.core.dom.ast.IASTSimpleDeclSpecifier; @@ -150,6 +151,10 @@ public class ReturnChecker extends AbstractAstFunctionChecker { IASTStatement[] statements = ((IASTCompoundStatement) body).getStatements(); if (statements.length > 0) { IASTStatement last = statements[statements.length - 1]; + // get nested statement if this is a label + while (last instanceof IASTLabelStatement) { + last = ((IASTLabelStatement) last).getNestedStatement(); + } // now check if last statement if complex (for optimization reasons, building CFG is expensive) if (isCompoundStatement(last)) { if (endsWithNoExitNode(func)) diff --git a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java index 9169ac64a96..b69f416b1dd 100644 --- a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java +++ b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java @@ -255,4 +255,19 @@ public class ReturnCheckerTest extends CheckerTestCase { loadCodeAndRunCpp(getAboveComment()); checkErrorLine(1); } + + // int + // fp_goto(int a) + // { + // if (a) { + // goto end; + // } + // end: + // return (a); + // } + public void testGoto_Bug346559() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + } \ No newline at end of file From da6b7c8f026b5e5c3b6256e877bb9b6621043e6b Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Mon, 27 Jun 2011 14:10:28 -0400 Subject: [PATCH 09/52] Bug 346215: Allow Tracepoints commands to have a comma in their name --- .../ui/tracepointactions/TracepointActionsList.java | 6 ++++-- .../internal/tracepointactions/TracepointActionManager.java | 4 ++++ .../org/eclipse/cdt/dsf/gdb/service/GDBBreakpoints_7_0.java | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepointactions/TracepointActionsList.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepointactions/TracepointActionsList.java index be64807ef76..e4184e7bddc 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepointactions/TracepointActionsList.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepointactions/TracepointActionsList.java @@ -132,7 +132,9 @@ public class TracepointActionsList extends Composite { TableItem[] currentItems = table.getItems(); for (int i = 0; i < currentItems.length; i++) { if (i > 0) { - result.append(','); + // Keep a delimiter between the different action strings + // so we can separate them again. + result.append(TracepointActionManager.TRACEPOINT_ACTION_DELIMITER); } result.append(((ITracepointAction) currentItems[i].getData()).getName()); } @@ -179,7 +181,7 @@ public class TracepointActionsList extends Composite { public void setNames(String actionNames) { table.removeAll(); - String[] names = actionNames.split(","); //$NON-NLS-1$ + String[] names = actionNames.split(TracepointActionManager.TRACEPOINT_ACTION_DELIMITER); for (String actionName : names) { ITracepointAction action = TracepointActionManager.getInstance().findAction(actionName); diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/internal/tracepointactions/TracepointActionManager.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/internal/tracepointactions/TracepointActionManager.java index cb415e7a069..a96b74bdbfc 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/internal/tracepointactions/TracepointActionManager.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/internal/tracepointactions/TracepointActionManager.java @@ -39,6 +39,10 @@ public class TracepointActionManager { private static final String TRACEPOINT_ACTION_DATA = "TracepointActionManager.actionData"; //$NON-NLS-1$ private static final TracepointActionManager fTracepointActionManager = new TracepointActionManager(); + // We need a delimiter that the user won't type directly. + // Bug 346215 + public static final String TRACEPOINT_ACTION_DELIMITER = "%_#"; //$NON-NLS-1$ + private ArrayList tracepointActions = null; private TracepointActionManager() { diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBreakpoints_7_0.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBreakpoints_7_0.java index 0d230145b7e..92d975b92f1 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBreakpoints_7_0.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBreakpoints_7_0.java @@ -325,7 +325,7 @@ public class GDBBreakpoints_7_0 extends MIBreakpoints } private ITracepointAction[] generateGdbCommands(String actionStr) { - String[] actionNames = actionStr.split(","); //$NON-NLS-1$ + String[] actionNames = actionStr.split(TracepointActionManager.TRACEPOINT_ACTION_DELIMITER); ITracepointAction[] actions = new ITracepointAction[actionNames.length]; TracepointActionManager actionManager = TracepointActionManager.getInstance(); From e2f7dbf915bcb13d3295229435ed4a0ce1cdb76e Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Mon, 27 Jun 2011 15:02:37 -0400 Subject: [PATCH 10/52] Bug 347196: Use MI to create tracepoint starting with GDB 7.2, which allows to set a tracepoint on the right process when using multi-process --- .../META-INF/MANIFEST.MF | 2 +- .../dsf/gdb/service/GDBBreakpoints_7_2.java | 153 ++++++++++++++++++ .../gdb/service/GdbDebugServicesFactory.java | 5 +- .../command/commands/MIBreakInsert.java | 4 +- 4 files changed, 160 insertions(+), 4 deletions(-) create mode 100644 dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBreakpoints_7_2.java diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/META-INF/MANIFEST.MF b/dsf-gdb/org.eclipse.cdt.dsf.gdb/META-INF/MANIFEST.MF index 8edbcd618da..c64fd1f27f5 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/META-INF/MANIFEST.MF +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-Vendor: %providerName Bundle-SymbolicName: org.eclipse.cdt.dsf.gdb;singleton:=true -Bundle-Version: 4.0.0.qualifier +Bundle-Version: 4.1.0.qualifier Bundle-Activator: org.eclipse.cdt.dsf.gdb.internal.GdbPlugin Bundle-Localization: plugin Require-Bundle: org.eclipse.core.runtime, diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBreakpoints_7_2.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBreakpoints_7_2.java new file mode 100644 index 00000000000..add70750871 --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBreakpoints_7_2.java @@ -0,0 +1,153 @@ +/******************************************************************************* + * Copyright (c) 2011 Ericsson and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ericsson - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.dsf.gdb.service; + +import java.util.HashMap; +import java.util.Hashtable; +import java.util.Map; + +import org.eclipse.cdt.dsf.concurrent.DataRequestMonitor; +import org.eclipse.cdt.dsf.concurrent.ImmediateExecutor; +import org.eclipse.cdt.dsf.concurrent.RequestMonitor; +import org.eclipse.cdt.dsf.datamodel.IDMContext; +import org.eclipse.cdt.dsf.debug.service.IBreakpoints; +import org.eclipse.cdt.dsf.debug.service.IBreakpointsExtension; +import org.eclipse.cdt.dsf.gdb.internal.GdbPlugin; +import org.eclipse.cdt.dsf.mi.service.IMICommandControl; +import org.eclipse.cdt.dsf.mi.service.MIBreakpointDMData; +import org.eclipse.cdt.dsf.mi.service.MIBreakpoints; +import org.eclipse.cdt.dsf.mi.service.command.output.MIBreakInsertInfo; +import org.eclipse.cdt.dsf.service.DsfSession; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; + +/** + * Breakpoint service for GDB 7.2. + * It support MI for tracepoints. + * + * @since 4.1 + */ +public class GDBBreakpoints_7_2 extends GDBBreakpoints_7_0 +{ + private IMICommandControl fConnection; + + public GDBBreakpoints_7_2(DsfSession session) { + super(session); + } + + /* (non-Javadoc) + * @see org.eclipse.cdt.dsf.service.AbstractDsfService#initialize(org.eclipse.cdt.dsf.concurrent.RequestMonitor) + */ + @Override + public void initialize(final RequestMonitor rm) { + super.initialize(new RequestMonitor(ImmediateExecutor.getInstance(), rm) { + @Override + protected void handleSuccess() { + doInitialize(rm); + } + }); + } + + private void doInitialize(final RequestMonitor rm) { + // Get the services references + fConnection = getServicesTracker().getService(IMICommandControl.class); + + // Register this service + register(new String[] { IBreakpoints.class.getName(), + IBreakpointsExtension.class.getName(), + MIBreakpoints.class.getName(), + GDBBreakpoints_7_0.class.getName(), + GDBBreakpoints_7_2.class.getName() }, + new Hashtable()); + + rm.done(); + } + + @Override + public void shutdown(RequestMonitor requestMonitor) { + unregister(); + super.shutdown(requestMonitor); + } + + /** + * Add a tracepoint using MI + */ + @Override + protected void addTracepoint(final IBreakpointsTargetDMContext context, final Map attributes, final DataRequestMonitor drm) + { + // Select the context breakpoints map + final Map contextBreakpoints = getBreakpointMap(context); + if (contextBreakpoints == null) { + drm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, REQUEST_FAILED, UNKNOWN_BREAKPOINT_CONTEXT, null)); + drm.done(); + return; + } + + // Extract the relevant parameters (providing default values to avoid potential NPEs) + final String location = formatLocation(attributes); + if (location.equals(NULL_STRING)) { + drm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, REQUEST_FAILED, UNKNOWN_BREAKPOINT_CONTEXT, null)); + drm.done(); + return; + } + + + final Boolean enabled = (Boolean) getProperty(attributes, MIBreakpoints.IS_ENABLED, true); + final Boolean isHardware = (Boolean) getProperty(attributes, MIBreakpointDMData.IS_HARDWARE, false); + final String condition = (String) getProperty(attributes, MIBreakpoints.CONDITION, NULL_STRING); + + fConnection.queueCommand( + fConnection.getCommandFactory().createMIBreakInsert(context, false, isHardware, condition, 0, location, 0, !enabled, true), + new DataRequestMonitor(getExecutor(), drm) { + @Override + protected void handleSuccess() { + // With MI, an invalid location won't generate an error + if (getData().getMIBreakpoints().length == 0) { + drm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, REQUEST_FAILED, BREAKPOINT_INSERTION_FAILURE, null)); + drm.done(); + return; + } + + // Create a breakpoint object and store it in the map + final MIBreakpointDMData newBreakpoint = new MIBreakpointDMData(getData().getMIBreakpoints()[0]); + int reference = newBreakpoint.getNumber(); + if (reference == -1) { + drm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, REQUEST_FAILED, BREAKPOINT_INSERTION_FAILURE, null)); + drm.done(); + return; + } + contextBreakpoints.put(reference, newBreakpoint); + + // Format the return value + MIBreakpointDMContext dmc = new MIBreakpointDMContext(GDBBreakpoints_7_2.this, new IDMContext[] { context }, reference); + drm.setData(dmc); + + // Flag the event + getSession().dispatchEvent(new BreakpointAddedEvent(dmc), getProperties()); + + // Tracepoints are created with no passcount (passcount are not + // the same thing as ignore-count, which is not supported by + // tracepoints). We have to set the passcount manually now. + // Same for commands. + Map delta = new HashMap(); + delta.put(MIBreakpoints.PASS_COUNT, getProperty(attributes, MIBreakpoints.PASS_COUNT, 0)); + delta.put(MIBreakpoints.COMMANDS, getProperty(attributes, MIBreakpoints.COMMANDS, "")); //$NON-NLS-1$ + modifyBreakpoint(dmc, delta, drm, false); + } + + @Override + protected void handleError() { + drm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, REQUEST_FAILED, BREAKPOINT_INSERTION_FAILURE, null)); + drm.done(); + } + }); + } +} diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GdbDebugServicesFactory.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GdbDebugServicesFactory.java index b013aae8dd3..0964d762527 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GdbDebugServicesFactory.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GdbDebugServicesFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2010 Ericsson and others. + * Copyright (c) 2008, 2011 Ericsson and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -98,6 +98,9 @@ public class GdbDebugServicesFactory extends AbstractDsfDebugServicesFactory { @Override protected IBreakpoints createBreakpointService(DsfSession session) { + if (GDB_7_2_VERSION.compareTo(fVersion) <= 0) { + return new GDBBreakpoints_7_2(session); + } if (GDB_7_0_VERSION.compareTo(fVersion) <= 0) { return new GDBBreakpoints_7_0(session); } diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIBreakInsert.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIBreakInsert.java index 49a22d77c62..f653ead1443 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIBreakInsert.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIBreakInsert.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2010 QNX Software Systems and others. + * Copyright (c) 2000, 2011 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -57,7 +57,7 @@ import org.eclipse.cdt.dsf.mi.service.command.output.MIOutput; * * '-a' * Insert a tracepoint instead of a breakpoint - * Only available starting GDB 7.1 + * Only available starting GDB 7.2 * * '-p THREAD' * THREAD on which to apply the breakpoint From 2041eb9870092b33d3fad240b840e216e5adac7a Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Mon, 27 Jun 2011 16:23:53 -0400 Subject: [PATCH 11/52] Bug 348159: Move DSF-GDB preference store to the core plugin. --- dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml | 6 --- .../cdt/dsf/gdb/internal/ui/GdbUIPlugin.java | 19 +++++++++ .../preferences/GdbDebugPreferencePage.java | 3 +- .../preferences/GdbPreferenceInitializer.java | 41 ------------------ .../META-INF/MANIFEST.MF | 2 +- dsf-gdb/org.eclipse.cdt.dsf.gdb/plugin.xml | 7 +++- .../internal/GdbPreferenceInitializer.java | 42 +++++++++++++++++++ .../gdb/launching/FinalLaunchSequence.java | 2 +- .../cdt/dsf/gdb/launching/LaunchUtils.java | 18 +++----- .../cdt/dsf/gdb/service/GDBBackend.java | 2 +- .../cdt/dsf/gdb/service/GDBProcesses.java | 4 +- .../cdt/dsf/gdb/service/GDBProcesses_7_0.java | 4 +- .../OperationsWhileTargetIsRunningTest.java | 13 +++--- .../gdbjtag/ui/GDBJtagDSFDebuggerTab.java | 5 ++- 14 files changed, 90 insertions(+), 78 deletions(-) delete mode 100644 dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbPreferenceInitializer.java create mode 100644 dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/internal/GdbPreferenceInitializer.java diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml index 92c40ca22a8..0f152c7eba8 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml @@ -291,12 +291,6 @@ name="%gdbPreferencePage.name"> - - - - diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/GdbUIPlugin.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/GdbUIPlugin.java index 6866babf972..2aedaeb95b0 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/GdbUIPlugin.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/GdbUIPlugin.java @@ -11,18 +11,22 @@ *******************************************************************************/ package org.eclipse.cdt.dsf.gdb.internal.ui; +import org.eclipse.cdt.dsf.gdb.internal.GdbPlugin; import org.eclipse.cdt.dsf.gdb.internal.ui.console.TracingConsoleManager; import org.eclipse.cdt.dsf.gdb.launching.GdbLaunch; import org.eclipse.cdt.dsf.gdb.launching.LaunchMessages; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; +import org.eclipse.core.runtime.preferences.InstanceScope; import org.eclipse.debug.core.DebugPlugin; import org.eclipse.debug.core.ILaunch; import org.eclipse.jface.dialogs.ErrorDialog; +import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.swt.widgets.Shell; import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.ui.preferences.ScopedPreferenceStore; import org.osgi.framework.BundleContext; /** @@ -39,6 +43,9 @@ public class GdbUIPlugin extends AbstractUIPlugin { private static BundleContext fgBundleContext; private static TracingConsoleManager fTracingConsoleManager; + + private static IPreferenceStore fCorePreferenceStore; + /** * The constructor */ @@ -97,6 +104,18 @@ public class GdbUIPlugin extends AbstractUIPlugin { return fgBundleContext; } + /** + * Returns the preference store for this UI plug-in. + * It actually uses the preference store of the core plug-in. + */ + @Override + public IPreferenceStore getPreferenceStore() { + if (fCorePreferenceStore == null) { + fCorePreferenceStore = new ScopedPreferenceStore(InstanceScope.INSTANCE, GdbPlugin.PLUGIN_ID); + } + return fCorePreferenceStore; + } + /** * copied from org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin */ diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbDebugPreferencePage.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbDebugPreferencePage.java index 85a289061dd..6993e02e459 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbDebugPreferencePage.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbDebugPreferencePage.java @@ -251,9 +251,8 @@ public class GdbDebugPreferencePage extends FieldEditorPreferencePage implements childCountLimitField.setValidRange(1, 10000); childCountLimitField.fillIntoGrid(indentHelper, 3); - IPreferenceStore store = GdbUIPlugin.getDefault().getPreferenceStore(); boolean prettyPrintingEnabled = - store.getBoolean(IGdbDebugPreferenceConstants.PREF_ENABLE_PRETTY_PRINTING); + getPreferenceStore().getBoolean(IGdbDebugPreferenceConstants.PREF_ENABLE_PRETTY_PRINTING); childCountLimitField.setEnabled(prettyPrintingEnabled, indentHelper); addField(childCountLimitField); diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbPreferenceInitializer.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbPreferenceInitializer.java deleted file mode 100644 index 72fd2e2a3f5..00000000000 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbPreferenceInitializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 2011 Ericsson and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Ericsson - initial API and implementation - * Jens Elmenthaler (Verigy) - Added Full GDB pretty-printing support (bug 302121) - * Sergey Prigogin (Google) - *******************************************************************************/ -package org.eclipse.cdt.dsf.gdb.internal.ui.preferences; - -import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants; -import org.eclipse.cdt.dsf.gdb.IGDBLaunchConfigurationConstants; -import org.eclipse.cdt.dsf.gdb.IGdbDebugPreferenceConstants; -import org.eclipse.cdt.dsf.gdb.internal.ui.GdbUIPlugin; -import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; -import org.eclipse.jface.preference.IPreferenceStore; - -/** - * Initialize the GDB preferences. - */ -public class GdbPreferenceInitializer extends AbstractPreferenceInitializer { - @Override - public void initializeDefaultPreferences() { - IPreferenceStore store = GdbUIPlugin.getDefault().getPreferenceStore(); - store.setDefault(IGdbDebugPreferenceConstants.PREF_TRACES_ENABLE, true); - store.setDefault(IGdbDebugPreferenceConstants.PREF_MAX_GDB_TRACES, 500000); - store.setDefault(IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, true); - store.setDefault(IGdbDebugPreferenceConstants.PREF_USE_INSPECTOR_HOVER, true); - store.setDefault(IGdbDebugPreferenceConstants.PREF_ENABLE_PRETTY_PRINTING, true); - store.setDefault(IGdbDebugPreferenceConstants.PREF_INITIAL_CHILD_COUNT_LIMIT_FOR_COLLECTIONS, 100); - store.setDefault(IGdbDebugPreferenceConstants.PREF_DEFAULT_GDB_COMMAND, IGDBLaunchConfigurationConstants.DEBUGGER_DEBUG_NAME_DEFAULT); - store.setDefault(IGdbDebugPreferenceConstants.PREF_DEFAULT_GDB_INIT, IGDBLaunchConfigurationConstants.DEBUGGER_GDB_INIT_DEFAULT); - store.setDefault(IGdbDebugPreferenceConstants.PREF_DEFAULT_STOP_AT_MAIN, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_DEFAULT); - store.setDefault(IGdbDebugPreferenceConstants.PREF_DEFAULT_STOP_AT_MAIN_SYMBOL, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_SYMBOL_DEFAULT); - store.setDefault(IGdbDebugPreferenceConstants.PREF_DEFAULT_NON_STOP, IGDBLaunchConfigurationConstants.DEBUGGER_NON_STOP_DEFAULT); - } -} diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/META-INF/MANIFEST.MF b/dsf-gdb/org.eclipse.cdt.dsf.gdb/META-INF/MANIFEST.MF index c64fd1f27f5..0b29b49d1bb 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/META-INF/MANIFEST.MF +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/META-INF/MANIFEST.MF @@ -19,7 +19,7 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5 Export-Package: org.eclipse.cdt.dsf.gdb, org.eclipse.cdt.dsf.gdb.actions, org.eclipse.cdt.dsf.gdb.breakpoints, - org.eclipse.cdt.dsf.gdb.internal;x-internal:=true, + org.eclipse.cdt.dsf.gdb.internal;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.debug.gdbjtag.ui", org.eclipse.cdt.dsf.gdb.internal.commands;x-internal:=true, org.eclipse.cdt.dsf.gdb.internal.memory;x-internal:=true, org.eclipse.cdt.dsf.gdb.internal.service.command.events;x-internal:=true, diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/plugin.xml b/dsf-gdb/org.eclipse.cdt.dsf.gdb/plugin.xml index c4e5a78d671..305e3d583c7 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/plugin.xml +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/plugin.xml @@ -61,5 +61,10 @@ contextId="org.eclipse.cdt.debug.ui.debugging" debugModelId="org.eclipse.cdt.dsf.gdb"/> - + + + + diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/internal/GdbPreferenceInitializer.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/internal/GdbPreferenceInitializer.java new file mode 100644 index 00000000000..e9403f12ba9 --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/internal/GdbPreferenceInitializer.java @@ -0,0 +1,42 @@ +/******************************************************************************* + * Copyright (c) 2009, 2011 Ericsson and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ericsson - initial API and implementation + * Jens Elmenthaler (Verigy) - Added Full GDB pretty-printing support (bug 302121) + * Sergey Prigogin (Google) + * Marc Khouzam (Ericsson) - Move to org.eclipse.cdt.dsf.gdb from UI plugin (bug 348159) + *******************************************************************************/ +package org.eclipse.cdt.dsf.gdb.internal; + +import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants; +import org.eclipse.cdt.dsf.gdb.IGDBLaunchConfigurationConstants; +import org.eclipse.cdt.dsf.gdb.IGdbDebugPreferenceConstants; +import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; +import org.eclipse.core.runtime.preferences.DefaultScope; +import org.eclipse.core.runtime.preferences.IEclipsePreferences; + +/** + * Initialize the GDB preferences. + */ +public class GdbPreferenceInitializer extends AbstractPreferenceInitializer { + @Override + public void initializeDefaultPreferences() { + IEclipsePreferences node = DefaultScope.INSTANCE.getNode(GdbPlugin.PLUGIN_ID); + node.putBoolean(IGdbDebugPreferenceConstants.PREF_TRACES_ENABLE, true); + node.putInt(IGdbDebugPreferenceConstants.PREF_MAX_GDB_TRACES, 500000); + node.putBoolean(IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, true); + node.putBoolean(IGdbDebugPreferenceConstants.PREF_USE_INSPECTOR_HOVER, true); + node.putBoolean(IGdbDebugPreferenceConstants.PREF_ENABLE_PRETTY_PRINTING, true); + node.putInt(IGdbDebugPreferenceConstants.PREF_INITIAL_CHILD_COUNT_LIMIT_FOR_COLLECTIONS, 100); + node.put(IGdbDebugPreferenceConstants.PREF_DEFAULT_GDB_COMMAND, IGDBLaunchConfigurationConstants.DEBUGGER_DEBUG_NAME_DEFAULT); + node.put(IGdbDebugPreferenceConstants.PREF_DEFAULT_GDB_INIT, IGDBLaunchConfigurationConstants.DEBUGGER_GDB_INIT_DEFAULT); + node.putBoolean(IGdbDebugPreferenceConstants.PREF_DEFAULT_STOP_AT_MAIN, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_DEFAULT); + node.put(IGdbDebugPreferenceConstants.PREF_DEFAULT_STOP_AT_MAIN_SYMBOL, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_SYMBOL_DEFAULT); + node.putBoolean(IGdbDebugPreferenceConstants.PREF_DEFAULT_NON_STOP, IGDBLaunchConfigurationConstants.DEBUGGER_NON_STOP_DEFAULT); + } +} diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/FinalLaunchSequence.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/FinalLaunchSequence.java index ff77183abb2..54b74473a74 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/FinalLaunchSequence.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/FinalLaunchSequence.java @@ -197,7 +197,7 @@ public class FinalLaunchSequence extends ReflectionSequence { */ @Execute public void stepEnablePrettyPrinting(final RequestMonitor requestMonitor) { - if (Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ + if (Platform.getPreferencesService().getBoolean(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_ENABLE_PRETTY_PRINTING, false, null)) { diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java index d294c6a69e2..c1e69f7b392 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java @@ -58,8 +58,6 @@ import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.ILaunchConfiguration; public class LaunchUtils { - private static final String GDB_UI_PLUGIN_ID = "org.eclipse.cdt.dsf.gdb.ui"; //$NON-NLS-1$ - /** * A prefix that we use to indicate that a GDB version is for MAC OS * @since 3.0 @@ -213,7 +211,7 @@ public class LaunchUtils { } public static IPath getGDBPath(ILaunchConfiguration configuration) { - String defaultGdbCommand = Platform.getPreferencesService().getString(GDB_UI_PLUGIN_ID, + String defaultGdbCommand = Platform.getPreferencesService().getString(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_DEFAULT_GDB_COMMAND, IGDBLaunchConfigurationConstants.DEBUGGER_DEBUG_NAME_DEFAULT, null); @@ -439,13 +437,7 @@ public class LaunchUtils { public static boolean getIsNonStopMode(ILaunchConfiguration config) { try { return config.getAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_NON_STOP, - // This call causes a race condition with the TraceControlManager - // Don't use it for now, until we find a fix. - // Consequence is that a Debug As->C/C++ application shortcut will not follow - // the preference for non-stop. This is not as bad as not have the gdb traces - // Bug 348159 - IGDBLaunchConfigurationConstants.DEBUGGER_NON_STOP_DEFAULT); -// getIsNonStopModeDefault()); + getIsNonStopModeDefault()); } catch (CoreException e) { } return false; @@ -457,7 +449,7 @@ public class LaunchUtils { * @since 4.0 */ public static boolean getIsNonStopModeDefault() { - return Platform.getPreferencesService().getBoolean(GDB_UI_PLUGIN_ID, + return Platform.getPreferencesService().getBoolean(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_DEFAULT_NON_STOP, IGDBLaunchConfigurationConstants.DEBUGGER_NON_STOP_DEFAULT, null); } @@ -468,7 +460,7 @@ public class LaunchUtils { * @since 4.0 */ public static boolean getStopAtMainDefault() { - return Platform.getPreferencesService().getBoolean(GDB_UI_PLUGIN_ID, + return Platform.getPreferencesService().getBoolean(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_DEFAULT_STOP_AT_MAIN, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_DEFAULT, null); } @@ -479,7 +471,7 @@ public class LaunchUtils { * @since 4.0 */ public static String getStopAtMainSymbolDefault() { - return Platform.getPreferencesService().getString(GDB_UI_PLUGIN_ID, + return Platform.getPreferencesService().getString(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_DEFAULT_STOP_AT_MAIN_SYMBOL, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_SYMBOL_DEFAULT, null); } diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java index f54e30acdab..1eb1c639fd0 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java @@ -201,7 +201,7 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend { public String getGDBInitFile() throws CoreException { if (fGDBInitFile == null) { - String defaultGdbInit = Platform.getPreferencesService().getString("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ + String defaultGdbInit = Platform.getPreferencesService().getString(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_DEFAULT_GDB_INIT, IGDBLaunchConfigurationConstants.DEBUGGER_GDB_INIT_DEFAULT, null); diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses.java index d629d6c385f..d3b7e7349fb 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses.java @@ -362,7 +362,7 @@ public class GDBProcesses extends MIProcesses implements IGDBProcesses { // Also, for a core session, there is no concept of killing the inferior, // so lets kill GDB if (fBackend.getSessionType() == SessionType.CORE || - Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ + Platform.getPreferencesService().getBoolean(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, true, null)) { fGdb.terminate(rm); @@ -635,7 +635,7 @@ public class GDBProcesses extends MIProcesses implements IGDBProcesses { if (e.getDMContext() instanceof IContainerDMContext) { fConnected = false; - if (Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ + if (Platform.getPreferencesService().getBoolean(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, true, null)) { // If the inferior finishes, let's terminate GDB diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_0.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_0.java index a27adb3b5a8..832e2d1881e 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_0.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_0.java @@ -1189,7 +1189,7 @@ public class GDBProcesses_7_0 extends AbstractDsfService // so lets kill GDB if (fBackend.getSessionType() == SessionType.CORE || (fNumConnected == 1 && - Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ + Platform.getPreferencesService().getBoolean(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, true, null))) { fCommandControl.terminate(rm); @@ -1405,7 +1405,7 @@ public class GDBProcesses_7_0 extends AbstractDsfService assert fNumConnected > 0; fNumConnected--; - if (Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ + if (Platform.getPreferencesService().getBoolean(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, true, null)) { if (fNumConnected == 0 && !fProcRestarting) { diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/OperationsWhileTargetIsRunningTest.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/OperationsWhileTargetIsRunningTest.java index 6439b22acf3..1bb9327f822 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/OperationsWhileTargetIsRunningTest.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/OperationsWhileTargetIsRunningTest.java @@ -26,6 +26,7 @@ import org.eclipse.cdt.dsf.debug.service.IProcesses.IProcessDMContext; import org.eclipse.cdt.dsf.debug.service.IRunControl.IExitedDMEvent; import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService.ICommandControlShutdownDMEvent; import org.eclipse.cdt.dsf.gdb.IGdbDebugPreferenceConstants; +import org.eclipse.cdt.dsf.gdb.internal.GdbPlugin; import org.eclipse.cdt.dsf.gdb.service.IGDBProcesses; import org.eclipse.cdt.dsf.gdb.service.command.IGDBControl; import org.eclipse.cdt.dsf.mi.service.IMIContainerDMContext; @@ -109,7 +110,7 @@ public class OperationsWhileTargetIsRunningTest extends BaseTestCase { @Test public void restartWhileTargetRunningKillGDB() throws Throwable { // First set the preference to kill GDB (although it should not happen in this test) - Preferences node = DefaultScope.INSTANCE.getNode("org.eclipse.cdt.dsf.gdb.ui"); + Preferences node = DefaultScope.INSTANCE.getNode(GdbPlugin.PLUGIN_ID); node.putBoolean(IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, true); // The target is currently stopped. We resume to get it running @@ -132,7 +133,7 @@ public class OperationsWhileTargetIsRunningTest extends BaseTestCase { @Test public void restartWhileTargetRunningGDBAlive() throws Throwable { // First set the preference not to kill gdb - Preferences node = DefaultScope.INSTANCE.getNode("org.eclipse.cdt.dsf.gdb.ui"); + Preferences node = DefaultScope.INSTANCE.getNode(GdbPlugin.PLUGIN_ID); node.putBoolean(IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, false); // The target is currently stopped. We resume to get it running @@ -155,7 +156,7 @@ public class OperationsWhileTargetIsRunningTest extends BaseTestCase { @Test public void terminateWhileTargetRunningKillGDB() throws Throwable { // First set the preference to kill GDB - Preferences node = DefaultScope.INSTANCE.getNode("org.eclipse.cdt.dsf.gdb.ui"); + Preferences node = DefaultScope.INSTANCE.getNode(GdbPlugin.PLUGIN_ID); node.putBoolean(IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, true); // The target is currently stopped. We resume to get it running @@ -192,7 +193,7 @@ public class OperationsWhileTargetIsRunningTest extends BaseTestCase { @Test public void terminateWhileTargetRunningKeepGDBAlive() throws Throwable { // First set the preference not to kill gdb - Preferences node = DefaultScope.INSTANCE.getNode("org.eclipse.cdt.dsf.gdb.ui"); + Preferences node = DefaultScope.INSTANCE.getNode(GdbPlugin.PLUGIN_ID); node.putBoolean(IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, false); // The target is currently stopped. We resume to get it running @@ -244,7 +245,7 @@ public class OperationsWhileTargetIsRunningTest extends BaseTestCase { @Test public void detachWhileTargetRunningKillGDB() throws Throwable { // First set the preference to kill GDB - Preferences node = DefaultScope.INSTANCE.getNode("org.eclipse.cdt.dsf.gdb.ui"); + Preferences node = DefaultScope.INSTANCE.getNode(GdbPlugin.PLUGIN_ID); node.putBoolean(IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, true); // The target is currently stopped. We resume to get it running @@ -280,7 +281,7 @@ public class OperationsWhileTargetIsRunningTest extends BaseTestCase { @Test public void detachWhileTargetRunningGDBAlive() throws Throwable { // First set the preference not to kill gdb - Preferences node = DefaultScope.INSTANCE.getNode("org.eclipse.cdt.dsf.gdb.ui"); + Preferences node = DefaultScope.INSTANCE.getNode(GdbPlugin.PLUGIN_ID); node.putBoolean(IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, false); // The target is currently stopped. We resume to get it running diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag.ui/src/org/eclipse/cdt/debug/gdbjtag/ui/GDBJtagDSFDebuggerTab.java b/jtag/org.eclipse.cdt.debug.gdbjtag.ui/src/org/eclipse/cdt/debug/gdbjtag/ui/GDBJtagDSFDebuggerTab.java index b32278f1044..d9dcb48a28a 100644 --- a/jtag/org.eclipse.cdt.debug.gdbjtag.ui/src/org/eclipse/cdt/debug/gdbjtag/ui/GDBJtagDSFDebuggerTab.java +++ b/jtag/org.eclipse.cdt.debug.gdbjtag.ui/src/org/eclipse/cdt/debug/gdbjtag/ui/GDBJtagDSFDebuggerTab.java @@ -35,6 +35,7 @@ import org.eclipse.cdt.debug.mi.core.command.factories.CommandFactoryDescriptor; import org.eclipse.cdt.debug.mi.core.command.factories.CommandFactoryManager; import org.eclipse.cdt.dsf.gdb.IGDBLaunchConfigurationConstants; import org.eclipse.cdt.dsf.gdb.IGdbDebugPreferenceConstants; +import org.eclipse.cdt.dsf.gdb.internal.GdbPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.Platform; import org.eclipse.debug.core.ILaunchConfiguration; @@ -362,7 +363,7 @@ public class GDBJtagDSFDebuggerTab extends AbstractLaunchConfigurationTab { public void initializeFrom(ILaunchConfiguration configuration) { try { - String defaultGdbCommand = Platform.getPreferencesService().getString("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ + String defaultGdbCommand = Platform.getPreferencesService().getString(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_DEFAULT_GDB_COMMAND,"", null); //$NON-NLS-1$ String gdbCommandAttr = configuration.getAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, defaultGdbCommand); gdbCommand.setText(gdbCommandAttr); @@ -453,7 +454,7 @@ public class GDBJtagDSFDebuggerTab extends AbstractLaunchConfigurationTab { } public void setDefaults(ILaunchConfigurationWorkingCopy configuration) { - String defaultGdbCommand = Platform.getPreferencesService().getString("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ + String defaultGdbCommand = Platform.getPreferencesService().getString(GdbPlugin.PLUGIN_ID, IGdbDebugPreferenceConstants.PREF_DEFAULT_GDB_COMMAND, "", null); //$NON-NLS-1$ configuration.setAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, defaultGdbCommand); From 6b80326e1789315fc94f20aedf3e38b67f218a89 Mon Sep 17 00:00:00 2001 From: Tomasz Wesolowski Date: Mon, 27 Jun 2011 20:29:36 -0400 Subject: [PATCH 12/52] Bug 345687 - [fp] "No return, in function returning non-void" for compound statement at the end --- .../cdt/codan/internal/checkers/ReturnChecker.java | 2 +- .../core/internal/checkers/ReturnCheckerTest.java | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java index b917dece9bd..86a9d9e25a5 100644 --- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java +++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java @@ -192,7 +192,7 @@ public class ReturnChecker extends AbstractAstFunctionChecker { */ private boolean isCompoundStatement(IASTStatement last) { return last instanceof IASTIfStatement || last instanceof IASTWhileStatement || last instanceof IASTDoStatement - || last instanceof IASTForStatement || last instanceof IASTSwitchStatement; + || last instanceof IASTForStatement || last instanceof IASTSwitchStatement || last instanceof IASTCompoundStatement; } protected boolean isFuncExitStatement(IASTStatement statement) { diff --git a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java index b69f416b1dd..aba819266d8 100644 --- a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java +++ b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java @@ -256,6 +256,16 @@ public class ReturnCheckerTest extends CheckerTestCase { checkErrorLine(1); } + // int f345687() { + // { + // return 0; + // } + // } + public void testNextedBlock_Bug345687() { + loadCodeAndRunCpp(getAboveComment()); + checkNoErrors(); + } + // int // fp_goto(int a) // { From 5431dae21921e1d3773335c1b36e120209dadfd2 Mon Sep 17 00:00:00 2001 From: Alena Laskavaia Date: Mon, 27 Jun 2011 22:01:24 -0400 Subject: [PATCH 13/52] Bug 332283 - Parser gives warning if main does not return anything --- .../codan/internal/checkers/ReturnChecker.java | 17 ++++++++++++++--- .../internal/checkers/ReturnCheckerTest.java | 9 +++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java index 86a9d9e25a5..f7bc5fca936 100644 --- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java +++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ReturnChecker.java @@ -131,6 +131,18 @@ public class ReturnChecker extends AbstractAstFunctionChecker { return false; } + public boolean isMain(IASTFunctionDefinition func) { + try { + String functionName = func.getDeclarator().getName().getRawSignature(); + if (functionName.equals("main")) { //$NON-NLS-1$ + return true; + } + } catch (Exception e) { + // well, not main + } + return false; + } + /* * (non-Javadoc) * @@ -144,7 +156,7 @@ public class ReturnChecker extends AbstractAstFunctionChecker { ReturnStmpVisitor visitor = new ReturnStmpVisitor(func); func.accept(visitor); boolean nonVoid = !isVoid(func); - if (nonVoid) { + if (nonVoid && !isMain(func)) { // there a return but maybe it is only on one branch IASTStatement body = func.getBody(); if (body instanceof IASTCompoundStatement) { @@ -163,8 +175,7 @@ public class ReturnChecker extends AbstractAstFunctionChecker { reportNoRet(func, visitor.hasret); } } else { - - reportNoRet(func, false); + reportNoRet(func, false); } } } diff --git a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java index aba819266d8..09ec9f408b3 100644 --- a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java +++ b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ReturnCheckerTest.java @@ -280,4 +280,13 @@ public class ReturnCheckerTest extends CheckerTestCase { checkNoErrors(); } + // int main() + // { + // char c; // added so function body is non-empty + // // no error since return value in main is optional + // } + public void testMainFunction() { + loadCodeAndRunCpp(getAboveComment()); + checkNoErrors(); + } } \ No newline at end of file From d3eb4cd839117d9d2f79462ed7a6ece5cf1da932 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Tue, 28 Jun 2011 13:52:40 -0400 Subject: [PATCH 14/52] Bug 347047: Trace visualization does not show proper frames with GDB >= 7.3 --- .../eclipse/cdt/dsf/mi/service/MIStack.java | 111 ++---------------- .../mi/service/command/output/MIFrame.java | 2 + 2 files changed, 11 insertions(+), 102 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIStack.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIStack.java index 0e10af2b5ad..19e865dae6e 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIStack.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIStack.java @@ -271,7 +271,7 @@ public class MIStack extends AbstractDsfService return; } - if (fTraceVisualization || (startIndex == 0 && endIndex == 0)) { + if (startIndex == 0 && endIndex == 0) { // Try to retrieve the top stack frame from the cached stopped event. if (fCachedStoppedEvent != null && fCachedStoppedEvent.getFrame() != null && @@ -383,6 +383,9 @@ public class MIStack extends AbstractDsfService public IAddress getAddress() { String addr = getMIFrame().getAddress(); + if (addr == null || addr.length() == 0) { + return new Addr32(0); + } if (addr.startsWith("0x")) { //$NON-NLS-1$ addr = addr.substring(2); } @@ -415,7 +418,7 @@ public class MIStack extends AbstractDsfService // Retrieve the top stack frame from the stopped event only if the selected thread is the one on which stopped event // is raised - if (fTraceVisualization || miFrameDmc.fLevel == 0) { + if (miFrameDmc.fLevel == 0) { if (fCachedStoppedEvent != null && fCachedStoppedEvent.getFrame() != null && (execDmc.equals(fCachedStoppedEvent.getDMContext()) || fTraceVisualization)) { @@ -513,14 +516,6 @@ public class MIStack extends AbstractDsfService rm.done(); return; } - - if (fTraceVisualization) { - // For the pre-release of GDB that supports tracepoints, we cannot ask - // for the list of arguments for all stack frames, but only for available - // ones. Again, I'm hoping that GDB 7.2 will be smarter than that. - getArgumentsForTraceVisualization(frameDmc, rm); - return; - } // If not, retrieve the full list of frame data. Although we only need one frame // for this call, it will be stored the cache and made available for other calls. @@ -581,44 +576,7 @@ public class MIStack extends AbstractDsfService }); } }); - } - - // For the pre-release of GDB that supports tracepoints, we cannot ask - // for the list of arguments for all stack frames, but only for available - // ones. Again, I'm hoping that GDB 7.2 will be smarter than that. - private void getArgumentsForTraceVisualization(final IFrameDMContext frameDmc, final DataRequestMonitor rm) { - final IMIExecutionDMContext execDmc = DMContexts.getAncestorOfType(frameDmc, IMIExecutionDMContext.class); - - getStackDepth(execDmc, 0, new DataRequestMonitor(getExecutor(), rm) { - @Override - protected void handleSuccess() { - int bottomFrame = getData() - 1; - fMICommandCache.execute( - // Don't ask for values for tracepoints - fCommandFactory.createMIStackListArguments(execDmc, false, 0, bottomFrame), - new DataRequestMonitor(getExecutor(), rm) { - @Override - protected void handleSuccess() { - // Find the index to the correct MI frame object. - // Note: this is a short-cut, but it won't work once we implement retrieving - // partial lists of stack frames. - int idx = frameDmc.getLevel(); - if (idx == -1 || idx >= getData().getMIFrames().length) { - rm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, INVALID_STATE, "Invalid frame " + frameDmc, null)); //$NON-NLS-1$ - rm.done(); - return; - } - - // Create the variable array out of MIArg array. - MIArg[] args = getData().getMIFrames()[idx].getArgs(); - if (args == null) args = new MIArg[0]; - rm.setData(makeVariableDMCs(frameDmc, MIVariableDMC.Type.ARGUMENT, args)); - rm.done(); - } - }); - } - }); - } + } public void getVariableData(IVariableDMContext variableDmc, final DataRequestMonitor rm) { if (!(variableDmc instanceof MIVariableDMC)) { @@ -676,9 +634,6 @@ public class MIStack extends AbstractDsfService } if (miVariableDmc.fType == MIVariableDMC.Type.ARGUMENT){ - if (fTraceVisualization) { - getArgumentsDataForTraceVisualization(miVariableDmc, rm); - } else { fMICommandCache.execute( // Don't ask for value when we are visualizing trace data, since some // data will not be there, and the command will fail @@ -724,7 +679,6 @@ public class MIStack extends AbstractDsfService }); } }); - } }//if if (miVariableDmc.fType == MIVariableDMC.Type.LOCAL){ fMICommandCache.execute( @@ -770,52 +724,6 @@ public class MIStack extends AbstractDsfService } - // For the pre-release of GDB that supports tracepoints, we cannot ask - // for the list of arguments for all stack frames, but only for available - // ones. Again, I'm hoping that GDB 7.2 will be smarter than that. - private void getArgumentsDataForTraceVisualization(final MIVariableDMC miVariableDmc, final DataRequestMonitor rm) { - final MIFrameDMC frameDmc = DMContexts.getAncestorOfType(miVariableDmc, MIFrameDMC.class); - final IMIExecutionDMContext execDmc = DMContexts.getAncestorOfType(frameDmc, IMIExecutionDMContext.class); - - class VariableData implements IVariableDMData { - private MIArg dsfMIArg; - VariableData(MIArg arg){ - dsfMIArg = arg; - } - public String getName() { return dsfMIArg.getName(); } - public String getValue() { return dsfMIArg.getValue(); } - @Override - public String toString() { return dsfMIArg.toString(); } - } - - getStackDepth(execDmc, 0, new DataRequestMonitor(getExecutor(), rm) { - @Override - protected void handleSuccess() { - int bottomFrame = getData() - 1; - fMICommandCache.execute( - // Don't ask for values for tracepoints - fCommandFactory.createMIStackListArguments(execDmc, false, 0, bottomFrame), - new DataRequestMonitor(getExecutor(), rm) { - @Override - protected void handleSuccess() { - // Find the correct frame and argument - if ( frameDmc.fLevel >= getData().getMIFrames().length || - miVariableDmc.fIndex >= getData().getMIFrames()[frameDmc.fLevel].getArgs().length ) - { - rm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, INVALID_HANDLE, "Invalid variable " + miVariableDmc, null)); //$NON-NLS-1$ - rm.done(); - return; - } - - // Create the data object. - rm.setData(new VariableData(getData().getMIFrames()[frameDmc.fLevel].getArgs()[miVariableDmc.fIndex])); - rm.done(); - } - }); - } - }); - } - private MIVariableDMC[] makeVariableDMCs(IFrameDMContext frame, MIVariableDMC.Type type, MIArg[] miArgs) { // Use LinkedHashMap in order to keep the original ordering. // We don't currently support variables with the same name in the same frame, @@ -944,13 +852,12 @@ public class MIStack extends AbstractDsfService @Override protected void handleError() { if (fTraceVisualization) { - // when visualizing trace data, the pre-release GDB, the command + // when visualizing trace data with GDB 7.2, the command // -stack-info-depth will return an error if we ask for any level // that GDB does not know about. We would have to iteratively // try different depths until we found the deepest that succeeds. - // That is too much of a hack for a pre-release. Let's hope - // GDB 7.2 will properly answer -stack-info-depth when visualizing - // trace data. Until then, we can safely say we have one stack + // That is too much of a hack, especially since GDB 7.3 answers correctly. + // For 7.2, we can safely say we have one stack // frame, which is going to be the case for 95% of the cases. // To have more stack frames, the user would have to have collected // the registers and enough stack memory for GDB to build another frame. diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIFrame.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIFrame.java index 42e36d84eb4..8e3154435be 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIFrame.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIFrame.java @@ -96,6 +96,8 @@ public class MIFrame { } else if (var.equals("addr")) { //$NON-NLS-1$ try { addr = str.trim(); + if ( str.equals( "" ) ) //$NON-NLS-1$ + addr = ""; //$NON-NLS-1$ } catch (NumberFormatException e) { } } else if (var.equals("func")) { //$NON-NLS-1$ From d7092b12c93925f6f7c4725a5abc72e55650621c Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Tue, 28 Jun 2011 05:21:58 -0400 Subject: [PATCH 15/52] Mavenizing CDT releng. Also removed unsupported cdt.core fragments from the platform feature. --- .../org.eclipse.cdt.gnu.build-feature/pom.xml | 16 + .../.project | 17 + .../build.properties | 5 + .../eclipse_update_120.jpg | Bin 0 -> 21695 bytes .../epl-v10.html | 328 +++++++++++++++++ .../feature.properties | 166 +++++++++ .../feature.xml | 31 ++ .../license.html | 108 ++++++ .../pom.xml | 16 + build/org.eclipse.cdt.make.core/pom.xml | 17 + build/org.eclipse.cdt.make.ui/pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + .../org.eclipse.cdt.managedbuilder.ui/pom.xml | 17 + .../org.eclipse.cdt.codan.checkers.ui/pom.xml | 17 + codan/org.eclipse.cdt.codan.checkers/pom.xml | 17 + codan/org.eclipse.cdt.codan.core.cxx/pom.xml | 17 + codan/org.eclipse.cdt.codan.core/pom.xml | 17 + codan/org.eclipse.cdt.codan.ui.cxx/pom.xml | 17 + codan/org.eclipse.cdt.codan.ui/pom.xml | 17 + core/org.eclipse.cdt.core.aix/cdtaix.jar | Bin 0 -> 3715 bytes core/org.eclipse.cdt.core.aix/pom.xml | 39 ++ core/org.eclipse.cdt.core.linux.ia64/pom.xml | 53 +++ core/org.eclipse.cdt.core.linux.ppc/pom.xml | 53 +++ core/org.eclipse.cdt.core.linux.ppc64/pom.xml | 53 +++ core/org.eclipse.cdt.core.linux.x86/pom.xml | 53 +++ .../org.eclipse.cdt.core.linux.x86_64/pom.xml | 53 +++ core/org.eclipse.cdt.core.linux/cdt_linux.jar | Bin 0 -> 3736 bytes core/org.eclipse.cdt.core.linux/pom.xml | 59 +++ .../cdt_macosx.jar | Bin 0 -> 3146 bytes core/org.eclipse.cdt.core.macosx/pom.xml | 44 +++ .../cdt_solaris.jar | Bin 0 -> 3128 bytes core/org.eclipse.cdt.core.solaris/pom.xml | 39 ++ core/org.eclipse.cdt.core.tests/pom.xml | 35 ++ core/org.eclipse.cdt.core.win32/cdt_win32.jar | Bin 0 -> 3641 bytes core/org.eclipse.cdt.core.win32/pom.xml | 44 +++ core/org.eclipse.cdt.core/pom.xml | 17 + core/org.eclipse.cdt.ui.tests/pom.xml | 17 + core/org.eclipse.cdt.ui/pom.xml | 17 + .../pom.xml | 17 + cross/org.eclipse.cdt.build.crossgcc/pom.xml | 17 + .../pom.xml | 17 + cross/org.eclipse.cdt.launch.remote/pom.xml | 17 + debug/org.eclipse.cdt.debug.core/pom.xml | 17 + debug/org.eclipse.cdt.debug.mi.core/pom.xml | 17 + debug/org.eclipse.cdt.debug.mi.ui/pom.xml | 17 + debug/org.eclipse.cdt.debug.ui/pom.xml | 17 + debug/org.eclipse.cdt.gdb-feature/pom.xml | 17 + .../.project | 17 + .../build.properties | 5 + .../eclipse_update_120.jpg | Bin 0 -> 21695 bytes .../epl-v10.html | 328 +++++++++++++++++ .../feature.properties | 167 +++++++++ .../feature.xml | 38 ++ .../license.html | 108 ++++++ .../pom.xml | 17 + debug/org.eclipse.cdt.gdb.ui/pom.xml | 17 + debug/org.eclipse.cdt.gdb/pom.xml | 17 + .../org.eclipse.cdt.gnu.debug-feature/pom.xml | 17 + .../.project | 17 + .../build.properties | 5 + .../eclipse_update_120.jpg | Bin 0 -> 21695 bytes .../epl-v10.html | 328 +++++++++++++++++ .../feature.properties | 166 +++++++++ .../feature.xml | 45 +++ .../license.html | 108 ++++++ .../pom.xml | 17 + doc/org.eclipse.cdt.doc.isv/pom.xml | 36 ++ doc/org.eclipse.cdt.doc.user/pom.xml | 36 ++ dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/pom.xml | 17 + dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml | 17 + .../org.eclipse.cdt.gnu.dsf-feature/pom.xml | 17 + .../.project | 17 + .../build.properties | 5 + .../eclipse_update_120.jpg | Bin 0 -> 21695 bytes .../epl-v10.html | 328 +++++++++++++++++ .../feature.properties | 166 +++++++++ .../feature.xml | 38 ++ .../license.html | 108 ++++++ .../pom.xml | 17 + dsf/org.eclipse.cdt.dsf.ui/pom.xml | 17 + dsf/org.eclipse.cdt.dsf/pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + dsf/org.eclipse.cdt.examples.dsf.pda/pom.xml | 17 + dsf/org.eclipse.cdt.examples.dsf/pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + jtag/org.eclipse.cdt.debug.gdbjtag.ui/pom.xml | 17 + jtag/org.eclipse.cdt.debug.gdbjtag/pom.xml | 37 ++ launch/org.eclipse.cdt.launch/pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + .../.project | 17 + .../build.properties | 5 + .../eclipse_update_120.jpg | Bin 0 -> 21695 bytes .../epl-v10.html | 328 +++++++++++++++++ .../feature.properties | 167 +++++++++ .../feature.xml | 31 ++ .../license.html | 108 ++++++ .../pom.xml | 17 + .../org.eclipse.cdt.core.lrparser/pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + p2/org.eclipse.cdt.p2-feature/pom.xml | 17 + p2/org.eclipse.cdt.p2/pom.xml | 17 + pom.xml | 343 ++++++++++++++++++ releng/org.eclipse.cdt-feature/pom.xml | 16 + .../feature.xml | 29 -- .../org.eclipse.cdt.platform-feature/pom.xml | 16 + .../.project | 17 + .../build.properties | 5 + .../eclipse_update_120.jpg | Bin 0 -> 21695 bytes .../epl-v10.html | 328 +++++++++++++++++ .../feature.properties | 166 +++++++++ .../feature.xml | 181 +++++++++ .../license.html | 108 ++++++ .../pom.xml | 16 + releng/org.eclipse.cdt.repo/.project | 11 + releng/org.eclipse.cdt.repo/category.xml | 16 + releng/org.eclipse.cdt.repo/pom.xml | 17 + releng/org.eclipse.cdt.sdk-feature/pom.xml | 16 + releng/org.eclipse.cdt.sdk/pom.xml | 37 ++ releng/org.eclipse.cdt/pom.xml | 37 ++ upc/org.eclipse.cdt.bupc-feature/pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + .../.project | 17 + .../build.properties | 5 + .../eclipse_update_120.jpg | Bin 0 -> 21695 bytes .../epl-v10.html | 328 +++++++++++++++++ .../feature.properties | 167 +++++++++ .../feature.xml | 31 ++ .../license.html | 108 ++++++ .../pom.xml | 17 + upc/org.eclipse.cdt.core.parser.upc/pom.xml | 17 + .../pom.xml | 17 + util/org.eclipse.cdt.util-feature/pom.xml | 17 + util/org.eclipse.cdt.util/pom.xml | 17 + windows/org.eclipse.cdt.msw-feature/pom.xml | 17 + windows/org.eclipse.cdt.msw.build/pom.xml | 17 + xlc/org.eclipse.cdt.core.lrparser.xlc/pom.xml | 17 + xlc/org.eclipse.cdt.errorparsers.xlc/pom.xml | 17 + xlc/org.eclipse.cdt.make.xlc.core/pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + .../pom.xml | 17 + xlc/org.eclipse.cdt.xlc.feature/pom.xml | 17 + xlc/org.eclipse.cdt.xlc.sdk-feature/pom.xml | 17 + .../.project | 17 + .../build.properties | 1 + .../eclipse_update_120.jpg | Bin 0 -> 21695 bytes .../epl-v10.html | 328 +++++++++++++++++ .../feature.properties | 167 +++++++++ .../feature.xml | 66 ++++ .../license.html | 108 ++++++ .../pom.xml | 17 + 160 files changed, 7868 insertions(+), 29 deletions(-) create mode 100644 build/org.eclipse.cdt.gnu.build-feature/pom.xml create mode 100644 build/org.eclipse.cdt.gnu.build.source-feature/.project create mode 100644 build/org.eclipse.cdt.gnu.build.source-feature/build.properties create mode 100644 build/org.eclipse.cdt.gnu.build.source-feature/eclipse_update_120.jpg create mode 100644 build/org.eclipse.cdt.gnu.build.source-feature/epl-v10.html create mode 100644 build/org.eclipse.cdt.gnu.build.source-feature/feature.properties create mode 100644 build/org.eclipse.cdt.gnu.build.source-feature/feature.xml create mode 100644 build/org.eclipse.cdt.gnu.build.source-feature/license.html create mode 100644 build/org.eclipse.cdt.gnu.build.source-feature/pom.xml create mode 100644 build/org.eclipse.cdt.make.core/pom.xml create mode 100644 build/org.eclipse.cdt.make.ui/pom.xml create mode 100644 build/org.eclipse.cdt.managedbuilder.core/pom.xml create mode 100644 build/org.eclipse.cdt.managedbuilder.gnu.ui/pom.xml create mode 100644 build/org.eclipse.cdt.managedbuilder.ui/pom.xml create mode 100644 codan/org.eclipse.cdt.codan.checkers.ui/pom.xml create mode 100644 codan/org.eclipse.cdt.codan.checkers/pom.xml create mode 100644 codan/org.eclipse.cdt.codan.core.cxx/pom.xml create mode 100644 codan/org.eclipse.cdt.codan.core/pom.xml create mode 100644 codan/org.eclipse.cdt.codan.ui.cxx/pom.xml create mode 100644 codan/org.eclipse.cdt.codan.ui/pom.xml create mode 100644 core/org.eclipse.cdt.core.aix/cdtaix.jar create mode 100644 core/org.eclipse.cdt.core.aix/pom.xml create mode 100644 core/org.eclipse.cdt.core.linux.ia64/pom.xml create mode 100644 core/org.eclipse.cdt.core.linux.ppc/pom.xml create mode 100644 core/org.eclipse.cdt.core.linux.ppc64/pom.xml create mode 100644 core/org.eclipse.cdt.core.linux.x86/pom.xml create mode 100644 core/org.eclipse.cdt.core.linux.x86_64/pom.xml create mode 100644 core/org.eclipse.cdt.core.linux/cdt_linux.jar create mode 100644 core/org.eclipse.cdt.core.linux/pom.xml create mode 100644 core/org.eclipse.cdt.core.macosx/cdt_macosx.jar create mode 100644 core/org.eclipse.cdt.core.macosx/pom.xml create mode 100644 core/org.eclipse.cdt.core.solaris/cdt_solaris.jar create mode 100644 core/org.eclipse.cdt.core.solaris/pom.xml create mode 100644 core/org.eclipse.cdt.core.tests/pom.xml create mode 100644 core/org.eclipse.cdt.core.win32/cdt_win32.jar create mode 100644 core/org.eclipse.cdt.core.win32/pom.xml create mode 100644 core/org.eclipse.cdt.core/pom.xml create mode 100644 core/org.eclipse.cdt.ui.tests/pom.xml create mode 100644 core/org.eclipse.cdt.ui/pom.xml create mode 100644 cross/org.eclipse.cdt.build.crossgcc-feature/pom.xml create mode 100644 cross/org.eclipse.cdt.build.crossgcc/pom.xml create mode 100644 cross/org.eclipse.cdt.launch.remote-feature/pom.xml create mode 100644 cross/org.eclipse.cdt.launch.remote/pom.xml create mode 100644 debug/org.eclipse.cdt.debug.core/pom.xml create mode 100644 debug/org.eclipse.cdt.debug.mi.core/pom.xml create mode 100644 debug/org.eclipse.cdt.debug.mi.ui/pom.xml create mode 100644 debug/org.eclipse.cdt.debug.ui/pom.xml create mode 100644 debug/org.eclipse.cdt.gdb-feature/pom.xml create mode 100644 debug/org.eclipse.cdt.gdb.source-feature/.project create mode 100644 debug/org.eclipse.cdt.gdb.source-feature/build.properties create mode 100644 debug/org.eclipse.cdt.gdb.source-feature/eclipse_update_120.jpg create mode 100644 debug/org.eclipse.cdt.gdb.source-feature/epl-v10.html create mode 100644 debug/org.eclipse.cdt.gdb.source-feature/feature.properties create mode 100644 debug/org.eclipse.cdt.gdb.source-feature/feature.xml create mode 100644 debug/org.eclipse.cdt.gdb.source-feature/license.html create mode 100644 debug/org.eclipse.cdt.gdb.source-feature/pom.xml create mode 100644 debug/org.eclipse.cdt.gdb.ui/pom.xml create mode 100644 debug/org.eclipse.cdt.gdb/pom.xml create mode 100644 debug/org.eclipse.cdt.gnu.debug-feature/pom.xml create mode 100644 debug/org.eclipse.cdt.gnu.debug.source-feature/.project create mode 100644 debug/org.eclipse.cdt.gnu.debug.source-feature/build.properties create mode 100644 debug/org.eclipse.cdt.gnu.debug.source-feature/eclipse_update_120.jpg create mode 100644 debug/org.eclipse.cdt.gnu.debug.source-feature/epl-v10.html create mode 100644 debug/org.eclipse.cdt.gnu.debug.source-feature/feature.properties create mode 100644 debug/org.eclipse.cdt.gnu.debug.source-feature/feature.xml create mode 100644 debug/org.eclipse.cdt.gnu.debug.source-feature/license.html create mode 100644 debug/org.eclipse.cdt.gnu.debug.source-feature/pom.xml create mode 100644 doc/org.eclipse.cdt.doc.isv/pom.xml create mode 100644 doc/org.eclipse.cdt.doc.user/pom.xml create mode 100644 dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/pom.xml create mode 100644 dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml create mode 100644 dsf-gdb/org.eclipse.cdt.gnu.dsf-feature/pom.xml create mode 100644 dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/.project create mode 100644 dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/build.properties create mode 100644 dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/eclipse_update_120.jpg create mode 100644 dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/epl-v10.html create mode 100644 dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/feature.properties create mode 100644 dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/feature.xml create mode 100644 dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/license.html create mode 100644 dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/pom.xml create mode 100644 dsf/org.eclipse.cdt.dsf.ui/pom.xml create mode 100644 dsf/org.eclipse.cdt.dsf/pom.xml create mode 100644 dsf/org.eclipse.cdt.examples.dsf-feature/pom.xml create mode 100644 dsf/org.eclipse.cdt.examples.dsf.pda.ui/pom.xml create mode 100644 dsf/org.eclipse.cdt.examples.dsf.pda/pom.xml create mode 100644 dsf/org.eclipse.cdt.examples.dsf/pom.xml create mode 100644 jtag/org.eclipse.cdt.debug.gdbjtag-feature/pom.xml create mode 100644 jtag/org.eclipse.cdt.debug.gdbjtag.core/pom.xml create mode 100644 jtag/org.eclipse.cdt.debug.gdbjtag.ui/pom.xml create mode 100644 jtag/org.eclipse.cdt.debug.gdbjtag/pom.xml create mode 100644 launch/org.eclipse.cdt.launch/pom.xml create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.feature/pom.xml create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.sdk.feature/pom.xml create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.source.feature/.project create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.source.feature/build.properties create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.source.feature/eclipse_update_120.jpg create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.source.feature/epl-v10.html create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.source.feature/feature.properties create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.source.feature/feature.xml create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.source.feature/license.html create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.source.feature/pom.xml create mode 100644 lrparser/org.eclipse.cdt.core.lrparser/pom.xml create mode 100644 memory/org.eclipse.cdt.debug.ui.memory-feature/pom.xml create mode 100644 memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/pom.xml create mode 100644 memory/org.eclipse.cdt.debug.ui.memory.search/pom.xml create mode 100644 memory/org.eclipse.cdt.debug.ui.memory.traditional/pom.xml create mode 100644 memory/org.eclipse.cdt.debug.ui.memory.transport/pom.xml create mode 100644 p2/org.eclipse.cdt.p2-feature/pom.xml create mode 100644 p2/org.eclipse.cdt.p2/pom.xml create mode 100644 pom.xml create mode 100644 releng/org.eclipse.cdt-feature/pom.xml create mode 100644 releng/org.eclipse.cdt.platform-feature/pom.xml create mode 100644 releng/org.eclipse.cdt.platform.source-feature/.project create mode 100644 releng/org.eclipse.cdt.platform.source-feature/build.properties create mode 100644 releng/org.eclipse.cdt.platform.source-feature/eclipse_update_120.jpg create mode 100644 releng/org.eclipse.cdt.platform.source-feature/epl-v10.html create mode 100644 releng/org.eclipse.cdt.platform.source-feature/feature.properties create mode 100644 releng/org.eclipse.cdt.platform.source-feature/feature.xml create mode 100644 releng/org.eclipse.cdt.platform.source-feature/license.html create mode 100644 releng/org.eclipse.cdt.platform.source-feature/pom.xml create mode 100644 releng/org.eclipse.cdt.repo/.project create mode 100644 releng/org.eclipse.cdt.repo/category.xml create mode 100644 releng/org.eclipse.cdt.repo/pom.xml create mode 100644 releng/org.eclipse.cdt.sdk-feature/pom.xml create mode 100644 releng/org.eclipse.cdt.sdk/pom.xml create mode 100644 releng/org.eclipse.cdt/pom.xml create mode 100644 upc/org.eclipse.cdt.bupc-feature/pom.xml create mode 100644 upc/org.eclipse.cdt.core.parser.upc.feature/pom.xml create mode 100644 upc/org.eclipse.cdt.core.parser.upc.sdk.feature/pom.xml create mode 100644 upc/org.eclipse.cdt.core.parser.upc.source.feature/.project create mode 100644 upc/org.eclipse.cdt.core.parser.upc.source.feature/build.properties create mode 100644 upc/org.eclipse.cdt.core.parser.upc.source.feature/eclipse_update_120.jpg create mode 100644 upc/org.eclipse.cdt.core.parser.upc.source.feature/epl-v10.html create mode 100644 upc/org.eclipse.cdt.core.parser.upc.source.feature/feature.properties create mode 100644 upc/org.eclipse.cdt.core.parser.upc.source.feature/feature.xml create mode 100644 upc/org.eclipse.cdt.core.parser.upc.source.feature/license.html create mode 100644 upc/org.eclipse.cdt.core.parser.upc.source.feature/pom.xml create mode 100644 upc/org.eclipse.cdt.core.parser.upc/pom.xml create mode 100644 upc/org.eclipse.cdt.managedbuilder.bupc.ui/pom.xml create mode 100644 util/org.eclipse.cdt.util-feature/pom.xml create mode 100644 util/org.eclipse.cdt.util/pom.xml create mode 100644 windows/org.eclipse.cdt.msw-feature/pom.xml create mode 100644 windows/org.eclipse.cdt.msw.build/pom.xml create mode 100644 xlc/org.eclipse.cdt.core.lrparser.xlc/pom.xml create mode 100644 xlc/org.eclipse.cdt.errorparsers.xlc/pom.xml create mode 100644 xlc/org.eclipse.cdt.make.xlc.core/pom.xml create mode 100644 xlc/org.eclipse.cdt.managedbuilder.xlc.core/pom.xml create mode 100644 xlc/org.eclipse.cdt.managedbuilder.xlc.ui/pom.xml create mode 100644 xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/pom.xml create mode 100644 xlc/org.eclipse.cdt.xlc.feature/pom.xml create mode 100644 xlc/org.eclipse.cdt.xlc.sdk-feature/pom.xml create mode 100644 xlc/org.eclipse.cdt.xlc.source.feature/.project create mode 100644 xlc/org.eclipse.cdt.xlc.source.feature/build.properties create mode 100644 xlc/org.eclipse.cdt.xlc.source.feature/eclipse_update_120.jpg create mode 100644 xlc/org.eclipse.cdt.xlc.source.feature/epl-v10.html create mode 100644 xlc/org.eclipse.cdt.xlc.source.feature/feature.properties create mode 100644 xlc/org.eclipse.cdt.xlc.source.feature/feature.xml create mode 100644 xlc/org.eclipse.cdt.xlc.source.feature/license.html create mode 100644 xlc/org.eclipse.cdt.xlc.source.feature/pom.xml diff --git a/build/org.eclipse.cdt.gnu.build-feature/pom.xml b/build/org.eclipse.cdt.gnu.build-feature/pom.xml new file mode 100644 index 00000000000..3f346e92611 --- /dev/null +++ b/build/org.eclipse.cdt.gnu.build-feature/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt.gnu.build-feature + eclipse-feature + diff --git a/build/org.eclipse.cdt.gnu.build.source-feature/.project b/build/org.eclipse.cdt.gnu.build.source-feature/.project new file mode 100644 index 00000000000..ca18a6370a8 --- /dev/null +++ b/build/org.eclipse.cdt.gnu.build.source-feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.cdt.gnu.build.source-feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/build/org.eclipse.cdt.gnu.build.source-feature/build.properties b/build/org.eclipse.cdt.gnu.build.source-feature/build.properties new file mode 100644 index 00000000000..c6af93f4925 --- /dev/null +++ b/build/org.eclipse.cdt.gnu.build.source-feature/build.properties @@ -0,0 +1,5 @@ +bin.includes = feature.xml,\ + eclipse_update_120.jpg,\ + epl-v10.html,\ + feature.properties,\ + license.html diff --git a/build/org.eclipse.cdt.gnu.build.source-feature/eclipse_update_120.jpg b/build/org.eclipse.cdt.gnu.build.source-feature/eclipse_update_120.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bfdf708ad617e4974cac04cc5c1c8192b09bbeb3 GIT binary patch literal 21695 zcmeHvcU)7=((p+_uhNSGp%(=Nr3wV321I%h5riZ_XrTltiYTH8C`eTiL3$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9)@+5Ua6(tGtpz6nN1Aah2ZQ;KA + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/build/org.eclipse.cdt.gnu.build.source-feature/feature.properties b/build/org.eclipse.cdt.gnu.build.source-feature/feature.properties new file mode 100644 index 00000000000..115d309c7bd --- /dev/null +++ b/build/org.eclipse.cdt.gnu.build.source-feature/feature.properties @@ -0,0 +1,166 @@ +############################################################################### +# Copyright (c) 2005, 2010 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=C/C++ GNU Toolchain Build Support Source + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse CDT + +# "updateSiteName" property - label for the update site +updateSiteName=Eclipse CDT update site + +# "description" property - description of the feature +description=Build support for C/C++ GNU toolchain. Source code. Included in C/C++ Development Tools SDK. + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +copyright=\ +Copyright (c) 2002, 2011 QNX Software Systems and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/build/org.eclipse.cdt.gnu.build.source-feature/feature.xml b/build/org.eclipse.cdt.gnu.build.source-feature/feature.xml new file mode 100644 index 00000000000..102161310d7 --- /dev/null +++ b/build/org.eclipse.cdt.gnu.build.source-feature/feature.xml @@ -0,0 +1,31 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + diff --git a/build/org.eclipse.cdt.gnu.build.source-feature/license.html b/build/org.eclipse.cdt.gnu.build.source-feature/license.html new file mode 100644 index 00000000000..f19c483b9c8 --- /dev/null +++ b/build/org.eclipse.cdt.gnu.build.source-feature/license.html @@ -0,0 +1,108 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/build/org.eclipse.cdt.gnu.build.source-feature/pom.xml b/build/org.eclipse.cdt.gnu.build.source-feature/pom.xml new file mode 100644 index 00000000000..c6e6e2d2705 --- /dev/null +++ b/build/org.eclipse.cdt.gnu.build.source-feature/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt.gnu.build.source-feature + eclipse-feature + diff --git a/build/org.eclipse.cdt.make.core/pom.xml b/build/org.eclipse.cdt.make.core/pom.xml new file mode 100644 index 00000000000..4d1672ade83 --- /dev/null +++ b/build/org.eclipse.cdt.make.core/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.1.0-SNAPSHOT + org.eclipse.cdt.make.core + eclipse-plugin + diff --git a/build/org.eclipse.cdt.make.ui/pom.xml b/build/org.eclipse.cdt.make.ui/pom.xml new file mode 100644 index 00000000000..fd326bffe93 --- /dev/null +++ b/build/org.eclipse.cdt.make.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.1.0-SNAPSHOT + org.eclipse.cdt.make.ui + eclipse-plugin + diff --git a/build/org.eclipse.cdt.managedbuilder.core/pom.xml b/build/org.eclipse.cdt.managedbuilder.core/pom.xml new file mode 100644 index 00000000000..767d5bcaf5f --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 8.0.0-SNAPSHOT + org.eclipse.cdt.managedbuilder.core + eclipse-plugin + diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/pom.xml b/build/org.eclipse.cdt.managedbuilder.gnu.ui/pom.xml new file mode 100644 index 00000000000..068bba6ee0b --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 8.0.0-SNAPSHOT + org.eclipse.cdt.managedbuilder.gnu.ui + eclipse-plugin + diff --git a/build/org.eclipse.cdt.managedbuilder.ui/pom.xml b/build/org.eclipse.cdt.managedbuilder.ui/pom.xml new file mode 100644 index 00000000000..cb919706e2e --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 8.0.0-SNAPSHOT + org.eclipse.cdt.managedbuilder.ui + eclipse-plugin + diff --git a/codan/org.eclipse.cdt.codan.checkers.ui/pom.xml b/codan/org.eclipse.cdt.codan.checkers.ui/pom.xml new file mode 100644 index 00000000000..88111b49bfa --- /dev/null +++ b/codan/org.eclipse.cdt.codan.checkers.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.codan.checkers.ui + eclipse-plugin + diff --git a/codan/org.eclipse.cdt.codan.checkers/pom.xml b/codan/org.eclipse.cdt.codan.checkers/pom.xml new file mode 100644 index 00000000000..1c869d3c472 --- /dev/null +++ b/codan/org.eclipse.cdt.codan.checkers/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.codan.checkers + eclipse-plugin + diff --git a/codan/org.eclipse.cdt.codan.core.cxx/pom.xml b/codan/org.eclipse.cdt.codan.core.cxx/pom.xml new file mode 100644 index 00000000000..cd393a11e89 --- /dev/null +++ b/codan/org.eclipse.cdt.codan.core.cxx/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.codan.core.cxx + eclipse-plugin + diff --git a/codan/org.eclipse.cdt.codan.core/pom.xml b/codan/org.eclipse.cdt.codan.core/pom.xml new file mode 100644 index 00000000000..78d2041e35e --- /dev/null +++ b/codan/org.eclipse.cdt.codan.core/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.0.0-SNAPSHOT + org.eclipse.cdt.codan.core + eclipse-plugin + diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/pom.xml b/codan/org.eclipse.cdt.codan.ui.cxx/pom.xml new file mode 100644 index 00000000000..6271687f04e --- /dev/null +++ b/codan/org.eclipse.cdt.codan.ui.cxx/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.0.0-SNAPSHOT + org.eclipse.cdt.codan.ui.cxx + eclipse-plugin + diff --git a/codan/org.eclipse.cdt.codan.ui/pom.xml b/codan/org.eclipse.cdt.codan.ui/pom.xml new file mode 100644 index 00000000000..c6b52af4dd3 --- /dev/null +++ b/codan/org.eclipse.cdt.codan.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.0.0-SNAPSHOT + org.eclipse.cdt.codan.ui + eclipse-plugin + diff --git a/core/org.eclipse.cdt.core.aix/cdtaix.jar b/core/org.eclipse.cdt.core.aix/cdtaix.jar new file mode 100644 index 0000000000000000000000000000000000000000..ed750248701dd05a94917c1005b67815140e4e19 GIT binary patch liter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hxh`G&wde+Ug{LM_VY3UMg%`L z?33{mJ>ltg6m^?&wrYo3jVa7Ktz2cmX{7YNczl_MI8ofaV#xd0sb;^UIopT`&4eLo zOhUQ@a`H^$;Pe@}bI^0l2oSkm_^!9M=9#Z_~rB1h+=aW)Fb zd%CN5`<1bi4DDbZFP*?U!?6MUR!5z0p8r`hc#}Lwd;ajFS7xq#@NRP{rlIDh?pTWU zvH~Y)yk#UWp+3>CvlT1?%*+^u`=|l5E@+>L^y?auHs?namQQjj@H;a1U>Smc5S?s#>^E|r`dGNPR+8-*N}_c^{0VoGby;hoy* zkFrzd+x7=g7Wwe@L_&t8rR<;MDR}C>($^u7%AUE}7-gYC!}AfNRXUvZk0bg$tS@OHP$OxoZ4g=aLM!6kSm?itDfX zZ3^4f@6O$F_5HQizAsCP?jja`q~S1$)`A8x+<&&cyr{CuUvDkMmpCP!Qqgf-nyPgJO)Ib4)|_a)zdCi3O#D2E~XX!fl^F>$e;KJfVfeUXpwv(d~xU2mB-*j8KjbNaVp#81T8@s#ZAj zmy-GRiYy$noa0q$jB9MptWeDofh``TE4> z;I$zH_+V1aTCP#?r<~vB;tfatx?_Wqzwcyo^4ehM;$Tq$JJ%=Y8a034&F1C}x8^t8 zUr_Y-!>~DeBMjpl4VD}Ma?A4^_Ku|Z^CC;0kQ-bg^;`40&;&S*#2CYBKZ;Ag$mSmbER&;Im3 DPI9Jw literal 0 HcmV?d00001 diff --git a/core/org.eclipse.cdt.core.aix/pom.xml b/core/org.eclipse.cdt.core.aix/pom.xml new file mode 100644 index 00000000000..9f9cefad3a8 --- /dev/null +++ b/core/org.eclipse.cdt.core.aix/pom.xml @@ -0,0 +1,39 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.aix + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + aix + gtk + ppc + + + + + + + + diff --git a/core/org.eclipse.cdt.core.linux.ia64/pom.xml b/core/org.eclipse.cdt.core.linux.ia64/pom.xml new file mode 100644 index 00000000000..c87a7453fa1 --- /dev/null +++ b/core/org.eclipse.cdt.core.linux.ia64/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.linux.ia64 + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + linux + gtk + ia64 + + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/core/org.eclipse.cdt.core.linux.ppc/pom.xml b/core/org.eclipse.cdt.core.linux.ppc/pom.xml new file mode 100644 index 00000000000..c726fc17ca6 --- /dev/null +++ b/core/org.eclipse.cdt.core.linux.ppc/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.linux.ppc + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + linux + gtk + ppc + + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/core/org.eclipse.cdt.core.linux.ppc64/pom.xml b/core/org.eclipse.cdt.core.linux.ppc64/pom.xml new file mode 100644 index 00000000000..30331649e75 --- /dev/null +++ b/core/org.eclipse.cdt.core.linux.ppc64/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.linux.ppc64 + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + linux + gtk + ppc64 + + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/core/org.eclipse.cdt.core.linux.x86/pom.xml b/core/org.eclipse.cdt.core.linux.x86/pom.xml new file mode 100644 index 00000000000..c656800088b --- /dev/null +++ b/core/org.eclipse.cdt.core.linux.x86/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.linux.x86 + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + linux + gtk + x86 + + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/core/org.eclipse.cdt.core.linux.x86_64/pom.xml b/core/org.eclipse.cdt.core.linux.x86_64/pom.xml new file mode 100644 index 00000000000..d1ad6ed7809 --- /dev/null +++ b/core/org.eclipse.cdt.core.linux.x86_64/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.linux.x86_64 + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + linux + gtk + x86_64 + + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/core/org.eclipse.cdt.core.linux/cdt_linux.jar b/core/org.eclipse.cdt.core.linux/cdt_linux.jar new file mode 100644 index 0000000000000000000000000000000000000000..d52f913efb2e6f8744268de13639c738625ed03c GIT binary patch literal 3736 zcmb7`2|SeR7stoGXJX2dX&F++&e+E?#xji2#1K=F#u((1eNEYEWKAVYi6kMyy^(M! zCC1p75K&0dTx&Pme}weuR`-9;eBS4M-p`!hIp^~}=Y5_p7R|)W30Swf!vk7hCYu8X z{f^PcA*78=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^qH+a1z`!QgzJFi<#$RYapRrU>Tf17w6 z(Z9HF4(m|7VL-qNqMSb6K;*5QKZfLOMbD;U8<~HuT!-cjThGNn=gjq7TgnZD{<(S` zqPNwuKTv;z)ISfi4%ORX9DWsM6S03DYaOz;W8M1KSX;=w74gT=y%n=8 + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.linux + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + linux + gtk + x86 + + + linux + gtk + x86_64 + + + linux + gtk + ppc + + + linux + gtk + ppc64 + + + linux + gtk + ia64 + + + + + + + + diff --git a/core/org.eclipse.cdt.core.macosx/cdt_macosx.jar b/core/org.eclipse.cdt.core.macosx/cdt_macosx.jar new file mode 100644 index 0000000000000000000000000000000000000000..99d684f11a06a6a23c8f4c5bc07b0ef41961274a GIT binary patch literal 3146 zcmb7H2{@E%8y?1P`f)P$Y?CEBBg;8MaYmMj5D~&)WMm&(()sPn=(q3N$r4FKB3rVI zhAdfAGEw$zI?<6e|4i2F{Bq9!eAoAW?{$6meLv6jF5i29`UoHu1ArVYq9dx`JG%`% z>8Yz>q$a7YcR^Zz7e)tYCc)AL3HL2XuN_G@>tUF#nx6Irjmt(-x)+vpJ3B5SB&B*! zASA`QJ6}~8$_zlqCOsr{y4xfWlInD{6ZuyX*~A-9`_^Pe8Jb6WgdyJGF z&|A~w#lbjfT-OT)Upg6ac$fNdM!6NF<-n4GG;DIF^nCPTem-+vndmgo?@%MlHn_bs zr`h8CyCL!4Viqim0^Rh(rfulY3RZ4q2mgGex<-$Bkb?_j z{hKLuizK@O+wxmyc4H+41F>IE-$p(p>@@XGX*ZcyH)ji`Jr*R*NY ztQJq(=At9CajTyFm&9MwzA=jSrofx{w+$rZ&5W#q5aTDzTJuHwE8ea}PjP3*)GLKtvQBv5Q&bzuRnGP19=J@!J$J6^!&&qzfpGui3P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+LSgX?Kb`KXcIWgk z>wWz*^VwFy4XrR|Aj`jW;sQ}cD-NoY=9TQZm2D3Y^A7KeYH0W>Z~&sEqFM~yd7isx zcymQAGT~$jeP~N&pPv8Z{DhlfrE%pO`2JQ7?aVq0VU*TU*3YNc%bMx*LKybhOitEt zeSjry79kXor7N>S%ZZI&7$UX-7sNtrE=@2RF0}g#@Vv{AhTCi`Q!B3+HQdFmFC~0+ zce@+t=>pbdELO5q8fmN$=dfs6KG`vo2{Gv&HE-2IQcHt$I#RVlxH(RNM4Aa3+-=!d z9ORVM2TwsBtR`0~^K}pPhM11RM7R=fT&aSL;+wSCE4{`M;*s583-nlJ4N40$OY^1K zdiCjZV&6;FpB`V+(V{O3)R21@u*EoXi`9?sGnA4~@ek#OMlXvOKGlc~VdZ`}g@g6i z-ib@&GUx(#3LpnwwhtD`nb`!RK?(+IWC|r>sx=~f+_HPZJ`2tIM;WN|w5V9%nB;?~ zn)q01;5JcX@+=nkpA2BpKIX*&ON+wqh0ldNteI;W@(uSEc)Xa9^;HxN4Ov%pxop;u zgOfKAzWIeh6&|vw46kyzd~Kvz)&HVgsQ-Mc$mx^Y+n0jnRu^3L5fqfHz#p3|(h*Dw zX27Bv`FY54?a_`lU1Tsh@&iRk?LO_01v{LWY}>xWcN?-%+6iXBmRcpLyJMU7avp7* z4j4nbi~}3>V1?F2a&1;tLTJ?4(B`Z1eqtPa@HN3ajstRKsejn;vT{c$q8w(G}Q zWaD+9mHW3^`!;M(@@ONrC;B9C@*hk7)s`L1`O(MnL5^QYOMpD*hv#8`B)<>AUfDZ2 Y4i0I31T_s=hk + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.macosx + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + macosx + cocoa + x86 + + + macosx + cocoa + x86_64 + + + + + + + + diff --git a/core/org.eclipse.cdt.core.solaris/cdt_solaris.jar b/core/org.eclipse.cdt.core.solaris/cdt_solaris.jar new file mode 100644 index 0000000000000000000000000000000000000000..5b7ad3f5649f5648e5e11f223757a73e3e478af1 GIT binary patch literal 3128 zcmb7{2{@E%AI8TvSw@Y04KpFh$TFfYImTqf*w;8z$gUZTeV@`qwip=^#~_D<9135J z3Pm`U5HhlBvVGaoqMVtKu1-1Ud){l__r0#U@B9D1-shQley=H-g_RS)7>#mNtuHs5 zCl316NY@ep(>F#PGToH10~+YEOz2RNJ^gD>`iK8pnGwQRAEj$ysc3{+GHPozM8g!j zxY02A_O^~nbEO{Dkx4%VgZ5?xG)#wm*F=GJn&82Q(!sUY zq#yu4k6z*rS0%2 zXgl^msl%}b>3QbGa!utlkGPWAGJCPhP z74>GQIT^XSLQB|nEeY7rZlyXo`lp&|&+krc4>f_XxBIV?k7a~ppEYkBRV6&Z@x;%v zAv@~oA}C{^r}HihwrdcGCEtqik zWrZ=s_rKxqjI{r3l?|8e}^tIE&==fAnCtY$34toYX* z7W<_gd9CiYmfwR@f3(fSd;x-x zLpdWsxI30d+{X zr8wB>m%aCzm+DEmvw2!GF9^1rqjC+9JJbE1FO_;P^VKU8(wQW5s^8f`mX%`UQOd=G zGW*X9Eu_W}K~E`yC1qxTmcQo>AFid$;p`68q*D~f`9npZ6QRg@pa10azgl_Vn7}#6 zAre8`4}33rNU3ogeT~ACC>t0n3g%w}G*sqLZ}+tJPP$;0#x(olsp+{Ya)WM}w#EOA zXdQo z7A%YBxwFy2>*W|84w6sGd{{MG>2$%lnVCE%Xoj{It3!>#IOi#zNq4ace>csF-wes5 z^ac4-&R0N{&3&$<*C>0m`xxzJLSKp_`_bO}<3m!J~)f-~8I7fzEZVyZpBw8vu-&MPVK%o@eT zH)RQ{th$gEBQtn4cv@vKwi7O&2D=phL9S&)2P$x+;!G(QpNxpQBiJU%_fptCJ-)G3 zmo$Vox@^+rES3kGg@qE&C|_TTqI`Z7IDag<_zrV<4Z+1Ax3>G!a;{d%vvkVMd+Ty$ z!!{>M^Yta;#E(>3k*2T8YjocypJ+WqU_-z?OqdYv^(IbQ-38hg4Qzv`Dhn`KcfQzY zo68`>{1^G7Y3F)!lAl9M4wvq;E%6izegWQB9nsV*&L2%9*Ushd*WT0kt}uwJ^tFlh z|BzMpXmj}Ibw5G8*ijVv2+{c5}sOWb5#9SX5|7MCJeyZ%{-tt?bEAK1iXkX71csrtjtqpQf993NU zgx!UCcUQO&iTxb!X<~bI2DA|#*=V(PJX`T3#Uz0j$88-JYb9hg79cLEZjGE6gi&RG ziMds0-dwGAt6M*_YJLRSl7=dhOhEyLO%G3(h==$Kt%9YaLKirm7NI*6P4orxh{oY4 zm4&QzYU`&@5135ROw9Z&Kj$g>W=kJnz#M{c{f4f#Y(M5JhL|x5@cZfKueNV!Yp22t zCfXQaz$e5V`t1fGZPolSBW*kSHXYl<^m8YJnKlNa78BD(tu5yULH*p#V5n{Pp&z)v zA*!FpFqmpP#&xHdO~U$l7K5?2v-18iYn!;XGJnimTd7s}sehmOJ%Me{`bLrOx8Us} qn)F4$nDuXG;_I{g@({i@zENa*LpDXT0U1G@^rMGPjmC@@1HfOQmYP%m literal 0 HcmV?d00001 diff --git a/core/org.eclipse.cdt.core.solaris/pom.xml b/core/org.eclipse.cdt.core.solaris/pom.xml new file mode 100644 index 00000000000..8e2e7d124da --- /dev/null +++ b/core/org.eclipse.cdt.core.solaris/pom.xml @@ -0,0 +1,39 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.solaris + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + solaris + gtk + sparc + + + + + + + + diff --git a/core/org.eclipse.cdt.core.tests/pom.xml b/core/org.eclipse.cdt.core.tests/pom.xml new file mode 100644 index 00000000000..887a223955e --- /dev/null +++ b/core/org.eclipse.cdt.core.tests/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.3.0-SNAPSHOT + org.eclipse.cdt.core.tests + eclipse-test-plugin + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + false + -Xms256m -Xmx512m -XX:MaxPermSize=256M + + **/AutomatedIntegrationSuite.* + + true + + + + + diff --git a/core/org.eclipse.cdt.core.win32/cdt_win32.jar b/core/org.eclipse.cdt.core.win32/cdt_win32.jar new file mode 100644 index 0000000000000000000000000000000000000000..ba72d9299ed5109acfe2de4f66bafe4638c05138 GIT binary patch literal 3641 zcmb7{2{@E%8^;+G8X`l;(jvn!$k@$ElQsL6Wyrqo%uveG)UhQKXJ{;06Nj&4n^2lW zAtP%-VH%P(846jy5v8lII_JCRdY|`sulfJ)`@Y`$x#s$fu^s~>E8S)^hz%V7ve{l( zXm z=|LfFt?d=2GB03nMuQ}E+nOcypeLDkzsoqIahNd-jqwv)C`>o!JL=;1VrP2 zlH78a^yWcfFkJjxyhOa7DJq^DKL6JzxzL((HFRIQq5IMet$}aBNZa`bxqs{Te-*%O zg{!lVX8_9eH%g8ll+G^b->CV1qW1Jdy9W6=`uxTw^gElgf6(t56!}N*Sx-Nh?6>M$ z!%NK;nxO~K=FLDyC;x9V1o=C=qEM&&-2A1SeH>A!l)s+)b)Nu5wTt)-R2LYk<4lp` zdpr8*y{HuoWeD?fP>QZ5LQ>FO#!NXxE(D|K)Bq5HaO@Gf7<1D0ngJJKh(mlNO?51* z9o6_~V|A6uK^TkWznszBF^Ui=5I=i4@ZA-q5!r5a^!BQnN2 zc#+`s3*>}VCA2-(@Lb}Ahs?BXr78Q6ElfQe(g zb#~wn+v7E%7r>^`yDx9lva%MR3gq!`=^#9u^!S+Q9s`*^{krIC2BY@phsJJbSYu!i zgdyVK9Nzmm{o=gcv@tMvSvp6H%sF~#RlBI;Znmp?9Y%rP z**Onq$f^y?mZqNhgi^%)12tGU#-Mm8f076JWYPg|Q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uok8X}Ic@8pba&v}RetZNTdwU*2?xix+ z>Z4n(!=STN-kd4nVQqf9Gd;4_L%Q8OMkL`8`KWVNHOY5S%Z>u)D}I!+P=T5MjGQZ}!b)Q$-)Imc*|{d}Wx3c0 z;wHv}r}h1-F;+nhF;KNd~}Sbd;&O$!gqmV z|12|9xZV{=vBtJ@jZ4&e+t)ePYTU6Ddvs-_y3yNE2Aae%d@t5>&(H}@9+QLsOP22B zCw)?54kR0H=@IxJ8h?L2+#(|1QVlTY4ZT_hXTtOIKh)2;ayMWN&`*7%E>uz*&(q&x zayMb9MDk$sVjE?67T`9Is)h#%;-2ZK2ChwFJlrcseFcoPkg7L>!){{zad%?F9*L3D zWfr?^`fxAm17kRrTQKJ~0Cw$X8>3qP6TJGd(!pq9sIBnG#_IT)v`@Hf`_h5QrB7X@4KT^W3+Sv7^O+X#o$By7MaBPV}Th+Bv-Rp^Ph(;ugvgTR?r7}AnpgpqWH@&?1Yj!RWnivcqBPaOr~Jsf$F3U-p$@!8O~zIyxu z6%k8i3=eDWQG&iyfA?;EkFg#-0L1WXtfo;HEjZ}jBR22fLH1YM&oO&byczizFm3&2 z`wqIlFT4rrU*y}%CK_)A2i+QiK-+GC^4FR_N97$y@3vzHoPX`yMCYy8tVK`1RqLyB z3#5PT-bCpgxAafk-+}e7(`=&kP8zr0rP&7UU+3CH?VVhC|CsA5cz@0KbM*e2vl8?6 z-)8&~#CImXRpLhy+bN+$I{=##|9%SJ-s6`Su-)`li5)I8)?=cf9UUDj?bAm4<8XS< H=F@)x1pK!q literal 0 HcmV?d00001 diff --git a/core/org.eclipse.cdt.core.win32/pom.xml b/core/org.eclipse.cdt.core.win32/pom.xml new file mode 100644 index 00000000000..edd2b394532 --- /dev/null +++ b/core/org.eclipse.cdt.core.win32/pom.xml @@ -0,0 +1,44 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.win32 + eclipse-plugin + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + win32 + win32 + x86 + + + win32 + win32 + x86_64 + + + + + + + + diff --git a/core/org.eclipse.cdt.core/pom.xml b/core/org.eclipse.cdt.core/pom.xml new file mode 100644 index 00000000000..4e06491c8b8 --- /dev/null +++ b/core/org.eclipse.cdt.core/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.3.0-SNAPSHOT + org.eclipse.cdt.core + eclipse-plugin + diff --git a/core/org.eclipse.cdt.ui.tests/pom.xml b/core/org.eclipse.cdt.ui.tests/pom.xml new file mode 100644 index 00000000000..b1f0c28b45e --- /dev/null +++ b/core/org.eclipse.cdt.ui.tests/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.3.0-SNAPSHOT + org.eclipse.cdt.ui.tests + eclipse-plugin + diff --git a/core/org.eclipse.cdt.ui/pom.xml b/core/org.eclipse.cdt.ui/pom.xml new file mode 100644 index 00000000000..0f84ce7b152 --- /dev/null +++ b/core/org.eclipse.cdt.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.3.0-SNAPSHOT + org.eclipse.cdt.ui + eclipse-plugin + diff --git a/cross/org.eclipse.cdt.build.crossgcc-feature/pom.xml b/cross/org.eclipse.cdt.build.crossgcc-feature/pom.xml new file mode 100644 index 00000000000..5e69295e395 --- /dev/null +++ b/cross/org.eclipse.cdt.build.crossgcc-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.build.crossgcc-feature + eclipse-feature + diff --git a/cross/org.eclipse.cdt.build.crossgcc/pom.xml b/cross/org.eclipse.cdt.build.crossgcc/pom.xml new file mode 100644 index 00000000000..26489528922 --- /dev/null +++ b/cross/org.eclipse.cdt.build.crossgcc/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.build.crossgcc + eclipse-plugin + diff --git a/cross/org.eclipse.cdt.launch.remote-feature/pom.xml b/cross/org.eclipse.cdt.launch.remote-feature/pom.xml new file mode 100644 index 00000000000..3775e72dd3f --- /dev/null +++ b/cross/org.eclipse.cdt.launch.remote-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 6.0.0-SNAPSHOT + org.eclipse.cdt.launch.remote + eclipse-feature + diff --git a/cross/org.eclipse.cdt.launch.remote/pom.xml b/cross/org.eclipse.cdt.launch.remote/pom.xml new file mode 100644 index 00000000000..4ef5706e25c --- /dev/null +++ b/cross/org.eclipse.cdt.launch.remote/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.3.0-SNAPSHOT + org.eclipse.cdt.launch.remote + eclipse-plugin + diff --git a/debug/org.eclipse.cdt.debug.core/pom.xml b/debug/org.eclipse.cdt.debug.core/pom.xml new file mode 100644 index 00000000000..6a5d548d0a1 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.core/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.1.0-SNAPSHOT + org.eclipse.cdt.debug.core + eclipse-plugin + diff --git a/debug/org.eclipse.cdt.debug.mi.core/pom.xml b/debug/org.eclipse.cdt.debug.mi.core/pom.xml new file mode 100644 index 00000000000..ba9e57cbaae --- /dev/null +++ b/debug/org.eclipse.cdt.debug.mi.core/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.1.0-SNAPSHOT + org.eclipse.cdt.debug.mi.core + eclipse-plugin + diff --git a/debug/org.eclipse.cdt.debug.mi.ui/pom.xml b/debug/org.eclipse.cdt.debug.mi.ui/pom.xml new file mode 100644 index 00000000000..d3f1029a5d1 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.mi.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 6.1.0-SNAPSHOT + org.eclipse.cdt.debug.mi.ui + eclipse-plugin + diff --git a/debug/org.eclipse.cdt.debug.ui/pom.xml b/debug/org.eclipse.cdt.debug.ui/pom.xml new file mode 100644 index 00000000000..829b9e4aafc --- /dev/null +++ b/debug/org.eclipse.cdt.debug.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.1.0-SNAPSHOT + org.eclipse.cdt.debug.ui + eclipse-plugin + diff --git a/debug/org.eclipse.cdt.gdb-feature/pom.xml b/debug/org.eclipse.cdt.gdb-feature/pom.xml new file mode 100644 index 00000000000..9557483fafa --- /dev/null +++ b/debug/org.eclipse.cdt.gdb-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt.gdb-feature + eclipse-feature + 7.0.0-SNAPSHOT + diff --git a/debug/org.eclipse.cdt.gdb.source-feature/.project b/debug/org.eclipse.cdt.gdb.source-feature/.project new file mode 100644 index 00000000000..fcf0a3cdabf --- /dev/null +++ b/debug/org.eclipse.cdt.gdb.source-feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.cdt.gdb.source-feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/debug/org.eclipse.cdt.gdb.source-feature/build.properties b/debug/org.eclipse.cdt.gdb.source-feature/build.properties new file mode 100644 index 00000000000..c6af93f4925 --- /dev/null +++ b/debug/org.eclipse.cdt.gdb.source-feature/build.properties @@ -0,0 +1,5 @@ +bin.includes = feature.xml,\ + eclipse_update_120.jpg,\ + epl-v10.html,\ + feature.properties,\ + license.html diff --git a/debug/org.eclipse.cdt.gdb.source-feature/eclipse_update_120.jpg b/debug/org.eclipse.cdt.gdb.source-feature/eclipse_update_120.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bfdf708ad617e4974cac04cc5c1c8192b09bbeb3 GIT binary patch literal 21695 zcmeHvcU)7=((p+_uhNSGp%(=Nr3wV321I%h5riZ_XrTltiYTH8C`eTiL3$Grle6uPge`61wfz> zKnMH-2t(wlntoUZ0MOS5!~g)G0LUSX01Sj6;2!|t1W0#b0I-Mb{{cHgM85GrK^`dp zjDh{&;{}o4g_%M4W+)aQ`Ia{W{A~pvuts93d%tREoIM6^=!C=Lyq$0!aCH;71=byn z^YsR#4K)C?^2G&J-q>`Y87Oib(yG`r#3&tBpmV+buZH7y1PEApjKiowyHxkU(Hi5-2G-83ief<_Jh+fRXSrN|CA=*)j2XUX~_f zj!rE)&M&}XTx);is8?{CI=Nts$=uL9%3Fptt@w(NMyx4Xvo0Mk%hql-j9GXRQs3b- zvZy5-mvQxJd_(8wrOc8SU8Bq94(F~VWR|-ORQhr>Gf{$CgY0`@~*!7=J4EGX}z^MYhV0my}9>e@je z(%I0OX0mw9@DCCGwFJUHMIiJ7G_c(|82|)Oi{wp>=YxfmePK;|DXQxvrWTTxXk~1? z^ePNXDHa!l9_K|0#ONA>QCtjCAX6X)DN1OqMP^*#<-32yEbpl-hv8E_ysyVYi|YpH z_wmj9%H}+7W~e)u2#VPZAEUWkNBy|qTxz9XGMk&Drkm^Fyow%MPMK>-bpS&Xm4?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0K7i4p)^wv2Xa7Y_}+6qDGU!s7cP zQ)0M_ff3P){FTWiEy#(_;F8Cna=zwxI95z&60-7`itd(F?$qFFcO|$eF==%w?~4vx zD@GemYUJIrF}OjaPZ~hWcjU1di*V-WC&tsS447>cZ@w_$S(6@V3!TK}FfJ}_LvOAMccEFAf!fyaR8z(FV5*Y^^V2VY)+zcU;x7@>vJ6JE0N`D zckJKtR}ETVxe7P#Hp?NpdmgXEXmmHMz7L*`m5x6A{M;$O8FXX{jA^eSRhB<@UlVG6+&g20xt z1eI{dYN3h=gvqJ%i!;ZwHJ%J~S4>3uzqXET9O;cWI2kUK_&iYV7^_MbUq{+%z{n$& z{)unPJ6#3xQ=Xf)+)-Nd-40XsG*R_}%6UWw{Cu`SBX15YO0R#^ctom`-RX`$G(7J$w-uJO&FZ5O=jrXJQmRC} zzf4Uq`va2!-Q-xK9)@+5Ua6(tGtpz6nN1Aah2ZQ;KA + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/debug/org.eclipse.cdt.gdb.source-feature/feature.properties b/debug/org.eclipse.cdt.gdb.source-feature/feature.properties new file mode 100644 index 00000000000..7e3a3ad593e --- /dev/null +++ b/debug/org.eclipse.cdt.gdb.source-feature/feature.properties @@ -0,0 +1,167 @@ +############################################################################### +# Copyright (c) 2010 Freescale Semiconductor and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Freescale Semiconductor - initial API and implementation +############################################################################### +# features.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=CDT Common GDB Support Source + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse CDT + +# "updateSiteName" property - label for the update site +updateSiteName=Eclipse CDT Update Site + +# "description" property - description of the feature +description=Common GDB Support and Source Code for CDT + +# copyright +copyright=\ +Copyright (c) 2010, 2011 Freescale Semiconductor and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/debug/org.eclipse.cdt.gdb.source-feature/feature.xml b/debug/org.eclipse.cdt.gdb.source-feature/feature.xml new file mode 100644 index 00000000000..95a7d4d9b5b --- /dev/null +++ b/debug/org.eclipse.cdt.gdb.source-feature/feature.xml @@ -0,0 +1,38 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + diff --git a/debug/org.eclipse.cdt.gdb.source-feature/license.html b/debug/org.eclipse.cdt.gdb.source-feature/license.html new file mode 100644 index 00000000000..f19c483b9c8 --- /dev/null +++ b/debug/org.eclipse.cdt.gdb.source-feature/license.html @@ -0,0 +1,108 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/debug/org.eclipse.cdt.gdb.source-feature/pom.xml b/debug/org.eclipse.cdt.gdb.source-feature/pom.xml new file mode 100644 index 00000000000..640772e3b98 --- /dev/null +++ b/debug/org.eclipse.cdt.gdb.source-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt.gdb.source-feature + eclipse-feature + 7.0.0-SNAPSHOT + diff --git a/debug/org.eclipse.cdt.gdb.ui/pom.xml b/debug/org.eclipse.cdt.gdb.ui/pom.xml new file mode 100644 index 00000000000..3b672b8e21a --- /dev/null +++ b/debug/org.eclipse.cdt.gdb.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.0.0-SNAPSHOT + org.eclipse.cdt.gdb.ui + eclipse-plugin + diff --git a/debug/org.eclipse.cdt.gdb/pom.xml b/debug/org.eclipse.cdt.gdb/pom.xml new file mode 100644 index 00000000000..a78e30c92ed --- /dev/null +++ b/debug/org.eclipse.cdt.gdb/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.0.0-SNAPSHOT + org.eclipse.cdt.gdb + eclipse-plugin + diff --git a/debug/org.eclipse.cdt.gnu.debug-feature/pom.xml b/debug/org.eclipse.cdt.gnu.debug-feature/pom.xml new file mode 100644 index 00000000000..5398f7632aa --- /dev/null +++ b/debug/org.eclipse.cdt.gnu.debug-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt.gnu.debug-feature + eclipse-feature + 7.1.0-SNAPSHOT + diff --git a/debug/org.eclipse.cdt.gnu.debug.source-feature/.project b/debug/org.eclipse.cdt.gnu.debug.source-feature/.project new file mode 100644 index 00000000000..f93e42d33f4 --- /dev/null +++ b/debug/org.eclipse.cdt.gnu.debug.source-feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.cdt.gnu.debug.source-feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/debug/org.eclipse.cdt.gnu.debug.source-feature/build.properties b/debug/org.eclipse.cdt.gnu.debug.source-feature/build.properties new file mode 100644 index 00000000000..c6af93f4925 --- /dev/null +++ b/debug/org.eclipse.cdt.gnu.debug.source-feature/build.properties @@ -0,0 +1,5 @@ +bin.includes = feature.xml,\ + eclipse_update_120.jpg,\ + epl-v10.html,\ + feature.properties,\ + license.html diff --git a/debug/org.eclipse.cdt.gnu.debug.source-feature/eclipse_update_120.jpg b/debug/org.eclipse.cdt.gnu.debug.source-feature/eclipse_update_120.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bfdf708ad617e4974cac04cc5c1c8192b09bbeb3 GIT binary patch literal 21695 zcmeHvcU)7=((p+_uhNSGp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JO&FZ5O=jrXJQmRC} zzf4Uq`va2!-Q-xK9)@+5Ua6(tGtpz6nN1Aah2ZQ;KA + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/debug/org.eclipse.cdt.gnu.debug.source-feature/feature.properties b/debug/org.eclipse.cdt.gnu.debug.source-feature/feature.properties new file mode 100644 index 00000000000..8382f798c29 --- /dev/null +++ b/debug/org.eclipse.cdt.gnu.debug.source-feature/feature.properties @@ -0,0 +1,166 @@ +############################################################################### +# Copyright (c) 2005, 2010 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=C/C++ GNU Toolchain Debug Support Source + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse CDT + +# "updateSiteName" property - label for the update site +updateSiteName=Eclipse CDT update site + +# "description" property - description of the feature +description=Debug support for C/C++ GNU toolchain. Source code. Included in C/C++ Development Tools SDK. + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +copyright=\ +Copyright (c) 2002, 2011 QNX Software Systems and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/debug/org.eclipse.cdt.gnu.debug.source-feature/feature.xml b/debug/org.eclipse.cdt.gnu.debug.source-feature/feature.xml new file mode 100644 index 00000000000..6eee9c72db4 --- /dev/null +++ b/debug/org.eclipse.cdt.gnu.debug.source-feature/feature.xml @@ -0,0 +1,45 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + diff --git a/debug/org.eclipse.cdt.gnu.debug.source-feature/license.html b/debug/org.eclipse.cdt.gnu.debug.source-feature/license.html new file mode 100644 index 00000000000..f19c483b9c8 --- /dev/null +++ b/debug/org.eclipse.cdt.gnu.debug.source-feature/license.html @@ -0,0 +1,108 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/debug/org.eclipse.cdt.gnu.debug.source-feature/pom.xml b/debug/org.eclipse.cdt.gnu.debug.source-feature/pom.xml new file mode 100644 index 00000000000..d3dad153249 --- /dev/null +++ b/debug/org.eclipse.cdt.gnu.debug.source-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt.gnu.debug.source-feature + eclipse-feature + 7.1.0-SNAPSHOT + diff --git a/doc/org.eclipse.cdt.doc.isv/pom.xml b/doc/org.eclipse.cdt.doc.isv/pom.xml new file mode 100644 index 00000000000..9eebde30e72 --- /dev/null +++ b/doc/org.eclipse.cdt.doc.isv/pom.xml @@ -0,0 +1,36 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.doc.isv + eclipse-plugin + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/doc/org.eclipse.cdt.doc.user/pom.xml b/doc/org.eclipse.cdt.doc.user/pom.xml new file mode 100644 index 00000000000..12044264546 --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/pom.xml @@ -0,0 +1,36 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.doc.user + eclipse-plugin + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/pom.xml b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/pom.xml new file mode 100644 index 00000000000..be8ecae0eb6 --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.2.0-SNAPSHOT + org.eclipse.cdt.dsf.gdb.ui + eclipse-plugin + diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml b/dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml new file mode 100644 index 00000000000..f9139527dfd --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 4.0.0-SNAPSHOT + org.eclipse.cdt.dsf.gdb + eclipse-plugin + diff --git a/dsf-gdb/org.eclipse.cdt.gnu.dsf-feature/pom.xml b/dsf-gdb/org.eclipse.cdt.gnu.dsf-feature/pom.xml new file mode 100644 index 00000000000..9dfaab0d04a --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.gnu.dsf-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 4.0.0-SNAPSHOT + org.eclipse.cdt.gdb.dsf-feature + eclipse-feature + diff --git a/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/.project b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/.project new file mode 100644 index 00000000000..7da107b4eef --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.cdt.gnu.dsf.source-feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/build.properties b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/build.properties new file mode 100644 index 00000000000..c6af93f4925 --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/build.properties @@ -0,0 +1,5 @@ +bin.includes = feature.xml,\ + eclipse_update_120.jpg,\ + epl-v10.html,\ + feature.properties,\ + license.html diff --git a/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/eclipse_update_120.jpg b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/eclipse_update_120.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bfdf708ad617e4974cac04cc5c1c8192b09bbeb3 GIT binary patch literal 21695 zcmeHvcU)7=((p+_uhNSGp%(=Nr3wV321I%h5riZ_XrTltiYTH8C`eTiL3$Grle6uPge`61wfz> zKnMH-2t(wlntoUZ0MOS5!~g)G0LUSX01Sj6;2!|t1W0#b0I-Mb{{cHgM85GrK^`dp zjDh{&;{}o4g_%M4W+)aQ`Ia{W{A~pvuts93d%tREoIM6^=!C=Lyq$0!aCH;71=byn z^YsR#4K)C?^2G&J-q>`Y87Oib(yG`r#3&tBpmV+buZH7y1PEApjKiowyHxkU(Hi5-2G-83ief<_Jh+fRXSrN|CA=*)j2XUX~_f zj!rE)&M&}XTx);is8?{CI=Nts$=uL9%3Fptt@w(NMyx4Xvo0Mk%hql-j9GXRQs3b- zvZy5-mvQxJd_(8wrOc8SU8Bq94(F~VWR|-ORQhr>Gf{$CgY0`@~*!7=J4EGX}z^MYhV0my}9>e@je z(%I0OX0mw9@DCCGwFJUHMIiJ7G_c(|82|)Oi{wp>=YxfmePK;|DXQxvrWTTxXk~1? z^ePNXDHa!l9_K|0#ONA>QCtjCAX6X)DN1OqMP^*#<-32yEbpl-hv8E_ysyVYi|YpH z_wmj9%H}+7W~e)u2#VPZAEUWkNBy|qTxz9XGMk&Drkm^Fyow%MPMK>-bpS&Xm4?>n zmzf6^OG&vOu(&oW4*kxUCj|$xJaBDvD){)Bu9LyY#4lB;Z>8x;6}^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=zwxI95z&60-7`itd(F?$qFFcO|$eF==%w?~4vx zD@GemYUJIrF}OjaPZ~hWcjU1di*V-WC&tsS447>cZ@w_$S(6@V3!TK}FfJ}_LvOAMccEFAf!fyaR8z(FV5*Y^^V2VY)+zcU;x7@>vJ6JE0N`D zckJKtR}ETVxe7P#Hp?NpdmgXEXmmHMz7L*`m5x6A{M;$O8FXX{jA^eSRhB<@UlVG6+&g20xt z1eI{dYN3h=gvqJ%i!;ZwHJ%J~S4>3uzqXET9O;cWI2kUK_&iYV7^_MbUq{+%z{n$& z{)unPJ6#3xQ=Xf)+)-Nd-40XsG*R_}%6UWw{Cu`SBX15YO0R#^ctom`-RX`$G(7J$w-uJO&FZ5O=jrXJQmRC} zzf4Uq`va2!-Q-xK9)@+5Ua6(tGtpz6nN1Aah2ZQ;KA + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/feature.properties b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/feature.properties new file mode 100644 index 00000000000..2cd23af147b --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/feature.properties @@ -0,0 +1,166 @@ +############################################################################### +# Copyright (c) 2005, 2010 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=C/C++ DSF GDB Debugger Integration Source + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse CDT + +# "updateSiteName" property - label for the update site +updateSiteName=Eclipse CDT update site + +# "description" property - description of the feature +description=DSF integration with gdb debugger. Source code. Included in C/C++ Development Tools SDK. + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +copyright=\ +Copyright (c) 2002, 2011 QNX Software Systems and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/feature.xml b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/feature.xml new file mode 100644 index 00000000000..be696382061 --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/feature.xml @@ -0,0 +1,38 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + diff --git a/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/license.html b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/license.html new file mode 100644 index 00000000000..f19c483b9c8 --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/license.html @@ -0,0 +1,108 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/pom.xml b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/pom.xml new file mode 100644 index 00000000000..ec4f9e758ec --- /dev/null +++ b/dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 4.0.0-SNAPSHOT + org.eclipse.cdt.gdb.dsf.source-feature + eclipse-feature + diff --git a/dsf/org.eclipse.cdt.dsf.ui/pom.xml b/dsf/org.eclipse.cdt.dsf.ui/pom.xml new file mode 100644 index 00000000000..0ab33256cae --- /dev/null +++ b/dsf/org.eclipse.cdt.dsf.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.2.0-SNAPSHOT + org.eclipse.cdt.dsf.ui + eclipse-plugin + diff --git a/dsf/org.eclipse.cdt.dsf/pom.xml b/dsf/org.eclipse.cdt.dsf/pom.xml new file mode 100644 index 00000000000..6dd94f1dfb5 --- /dev/null +++ b/dsf/org.eclipse.cdt.dsf/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.2.0-SNAPSHOT + org.eclipse.cdt.dsf + eclipse-plugin + diff --git a/dsf/org.eclipse.cdt.examples.dsf-feature/pom.xml b/dsf/org.eclipse.cdt.examples.dsf-feature/pom.xml new file mode 100644 index 00000000000..4441f062917 --- /dev/null +++ b/dsf/org.eclipse.cdt.examples.dsf-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.1.0-SNAPSHOT + org.eclipse.cdt.examples.dsf-feature + eclipse-feature + diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda.ui/pom.xml b/dsf/org.eclipse.cdt.examples.dsf.pda.ui/pom.xml new file mode 100644 index 00000000000..3b42aeeb5df --- /dev/null +++ b/dsf/org.eclipse.cdt.examples.dsf.pda.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.1.0-SNAPSHOT + org.eclipse.cdt.examples.dsf.pda.ui + eclipse-plugin + diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/pom.xml b/dsf/org.eclipse.cdt.examples.dsf.pda/pom.xml new file mode 100644 index 00000000000..cf7141e1b8d --- /dev/null +++ b/dsf/org.eclipse.cdt.examples.dsf.pda/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.1.0-SNAPSHOT + org.eclipse.cdt.examples.dsf.pda + eclipse-plugin + diff --git a/dsf/org.eclipse.cdt.examples.dsf/pom.xml b/dsf/org.eclipse.cdt.examples.dsf/pom.xml new file mode 100644 index 00000000000..beeed83f34d --- /dev/null +++ b/dsf/org.eclipse.cdt.examples.dsf/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.1.0-SNAPSHOT + org.eclipse.cdt.examples.dsf + eclipse-plugin + diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag-feature/pom.xml b/jtag/org.eclipse.cdt.debug.gdbjtag-feature/pom.xml new file mode 100644 index 00000000000..c944e575329 --- /dev/null +++ b/jtag/org.eclipse.cdt.debug.gdbjtag-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.0.0-SNAPSHOT + org.eclipse.cdtdebug.gdbjtag-feature + eclipse-feature + diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag.core/pom.xml b/jtag/org.eclipse.cdt.debug.gdbjtag.core/pom.xml new file mode 100644 index 00000000000..cf9e28368c9 --- /dev/null +++ b/jtag/org.eclipse.cdt.debug.gdbjtag.core/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 8.0.0-SNAPSHOT + org.eclipse.cdt.debug.gdbjtag.core + eclipse-plugin + diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag.ui/pom.xml b/jtag/org.eclipse.cdt.debug.gdbjtag.ui/pom.xml new file mode 100644 index 00000000000..4ead0f70c50 --- /dev/null +++ b/jtag/org.eclipse.cdt.debug.gdbjtag.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.0.0-SNAPSHOT + org.eclipse.cdt.debug.gdbjtag.ui + eclipse-plugin + diff --git a/jtag/org.eclipse.cdt.debug.gdbjtag/pom.xml b/jtag/org.eclipse.cdt.debug.gdbjtag/pom.xml new file mode 100644 index 00000000000..52107cb1621 --- /dev/null +++ b/jtag/org.eclipse.cdt.debug.gdbjtag/pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.0.0-SNAPSHOT + org.eclipse.cdt.debug.gdbjtag + eclipse-plugin + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/launch/org.eclipse.cdt.launch/pom.xml b/launch/org.eclipse.cdt.launch/pom.xml new file mode 100644 index 00000000000..efb34217d1f --- /dev/null +++ b/launch/org.eclipse.cdt.launch/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 7.0.0-SNAPSHOT + org.eclipse.cdt.launch + eclipse-plugin + diff --git a/lrparser/org.eclipse.cdt.core.lrparser.feature/pom.xml b/lrparser/org.eclipse.cdt.core.lrparser.feature/pom.xml new file mode 100644 index 00000000000..8b21a0af49b --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser.feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.lrparser.feature + eclipse-feature + diff --git a/lrparser/org.eclipse.cdt.core.lrparser.sdk.feature/pom.xml b/lrparser/org.eclipse.cdt.core.lrparser.sdk.feature/pom.xml new file mode 100644 index 00000000000..ff465dede44 --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser.sdk.feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.lrparser.sdk.feature + eclipse-feature + diff --git a/lrparser/org.eclipse.cdt.core.lrparser.source.feature/.project b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/.project new file mode 100644 index 00000000000..c18be01be36 --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.cdt.core.lrparser.source.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/lrparser/org.eclipse.cdt.core.lrparser.source.feature/build.properties b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/build.properties new file mode 100644 index 00000000000..c6af93f4925 --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/build.properties @@ -0,0 +1,5 @@ +bin.includes = feature.xml,\ + eclipse_update_120.jpg,\ + epl-v10.html,\ + feature.properties,\ + license.html diff --git a/lrparser/org.eclipse.cdt.core.lrparser.source.feature/eclipse_update_120.jpg b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/eclipse_update_120.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bfdf708ad617e4974cac04cc5c1c8192b09bbeb3 GIT binary patch literal 21695 zcmeHvcU)7=((p+_uhNSGp%(=Nr3wV321I%h5riZ_XrTltiYTH8C`eTiL3$Grle6uPge`61wfz> zKnMH-2t(wlntoUZ0MOS5!~g)G0LUSX01Sj6;2!|t1W0#b0I-Mb{{cHgM85GrK^`dp zjDh{&;{}o4g_%M4W+)aQ`Ia{W{A~pvuts93d%tREoIM6^=!C=Lyq$0!aCH;71=byn z^YsR#4K)C?^2G&J-q>`Y87Oib(yG`r#3&tBpmV+buZH7y1PEApjKiowyHxkU(Hi5-2G-83ief<_Jh+fRXSrN|CA=*)j2XUX~_f zj!rE)&M&}XTx);is8?{CI=Nts$=uL9%3Fptt@w(NMyx4Xvo0Mk%hql-j9GXRQs3b- zvZy5-mvQxJd_(8wrOc8SU8Bq94(F~VWR|-OR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Lou5U+W=#4*8Zc)BV2r+pg#@G3o9GtQ<)R3{U%Jr_Z@{j+lB9~7H`SkRg=B9{60v#>;?glDd#CO7;O{iFHOs^4G+pJ zT-UbAUduPgJ&kzoEEv)8IkVp0KJ&aK8$*wUS+{tzEJ?>jNnDMbF9tVwN3l3d-J+T_9FPnbtRR@ZCUON_|I?h>(8dut>jUA{Gg7>-y(G zt_5qsQc5HD`H#eUK5BV&jQibd@q$|}(L2|-XI0K7i4p)^wv2Xa7Y_}+6qDGU!s7cP zQ)0M_ff3P){FTWiEy#(_;F8Cna=zwxI95z&60-7`itd(F?$qFFcO|$eF==%w?~4vx zD@GemYUJIrF}OjaPZ~hWcjU1di*V-WC&tsS447>cZ@w_$S(6@V3!TK}FfJ}_LvOAMccEFAf!fyaR8z(FV5*Y^^V2VY)+zcU;x7@>vJ6JE0N`D zckJKtR}ETVxe7P#Hp?NpdmgXEXmmHMz7L*`m5x6A{M;$O8FXX{jA^eSRhB<@UlVG6+&g20xt z1eI{dYN3h=gvqJ%i!;ZwHJ%J~S4>3uzqXET9O;cWI2kUK_&iYV7^_MbUq{+%z{n$& z{)unPJ6#3xQ=Xf)+)-Nd-40XsG*R_}%6UWw{Cu`SBX15YO0R#^ctom`-RX`$G(7J$w-uJO&FZ5O=jrXJQmRC} zzf4Uq`va2!-Q-xK9)@+5Ua6(tGtpz6nN1Aah2ZQ;KA + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/lrparser/org.eclipse.cdt.core.lrparser.source.feature/feature.properties b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/feature.properties new file mode 100644 index 00000000000..6999dc2876c --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/feature.properties @@ -0,0 +1,167 @@ +############################################################################### +# Copyright (c) 2006, 2010 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=C99 LR Parser Source + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse CDT + +# "updateSiteName" property - label for the update site +updateSiteName=Eclipse CDT Update Site + +# "description" property - description of the feature +description=Parser and language support for the C99 variant of the C programming language. Source code. + +# copyright +copyright=\ +Copyright (c) 2006, 2011 IBM Corporation and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/lrparser/org.eclipse.cdt.core.lrparser.source.feature/feature.xml b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/feature.xml new file mode 100644 index 00000000000..57aacf5d9b4 --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/feature.xml @@ -0,0 +1,31 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + diff --git a/lrparser/org.eclipse.cdt.core.lrparser.source.feature/license.html b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/license.html new file mode 100644 index 00000000000..f19c483b9c8 --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/license.html @@ -0,0 +1,108 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/lrparser/org.eclipse.cdt.core.lrparser.source.feature/pom.xml b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/pom.xml new file mode 100644 index 00000000000..4b49629a7ef --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser.source.feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.lrparser.source.feature + eclipse-feature + diff --git a/lrparser/org.eclipse.cdt.core.lrparser/pom.xml b/lrparser/org.eclipse.cdt.core.lrparser/pom.xml new file mode 100644 index 00000000000..cfcfdf759d2 --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.2.0-SNAPSHOT + org.eclipse.cdt.core.lrparser + eclipse-plugin + diff --git a/memory/org.eclipse.cdt.debug.ui.memory-feature/pom.xml b/memory/org.eclipse.cdt.debug.ui.memory-feature/pom.xml new file mode 100644 index 00000000000..2fca78c685c --- /dev/null +++ b/memory/org.eclipse.cdt.debug.ui.memory-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.1.100-SNAPSHOT + org.eclipse.cdt.debug.ui.memory-feature + eclipse-feature + diff --git a/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/pom.xml b/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/pom.xml new file mode 100644 index 00000000000..5a3a231fffa --- /dev/null +++ b/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.2.100-SNAPSHOT + org.eclipse.cdt.debug.ui.memory.memorybrowser + eclipse-plugin + diff --git a/memory/org.eclipse.cdt.debug.ui.memory.search/pom.xml b/memory/org.eclipse.cdt.debug.ui.memory.search/pom.xml new file mode 100644 index 00000000000..d53184e01de --- /dev/null +++ b/memory/org.eclipse.cdt.debug.ui.memory.search/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.2.0-SNAPSHOT + org.eclipse.cdt.debug.ui.memory.search + eclipse-plugin + diff --git a/memory/org.eclipse.cdt.debug.ui.memory.traditional/pom.xml b/memory/org.eclipse.cdt.debug.ui.memory.traditional/pom.xml new file mode 100644 index 00000000000..ab521f27065 --- /dev/null +++ b/memory/org.eclipse.cdt.debug.ui.memory.traditional/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.2.0-SNAPSHOT + org.eclipse.cdt.debug.ui.memory.traditional + eclipse-plugin + diff --git a/memory/org.eclipse.cdt.debug.ui.memory.transport/pom.xml b/memory/org.eclipse.cdt.debug.ui.memory.transport/pom.xml new file mode 100644 index 00000000000..89df72ccec8 --- /dev/null +++ b/memory/org.eclipse.cdt.debug.ui.memory.transport/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 2.1.0-SNAPSHOT + org.eclipse.cdt.debug.ui.memory.transport + eclipse-plugin + diff --git a/p2/org.eclipse.cdt.p2-feature/pom.xml b/p2/org.eclipse.cdt.p2-feature/pom.xml new file mode 100644 index 00000000000..3016643ba12 --- /dev/null +++ b/p2/org.eclipse.cdt.p2-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.p2-feature + eclipse-feature + diff --git a/p2/org.eclipse.cdt.p2/pom.xml b/p2/org.eclipse.cdt.p2/pom.xml new file mode 100644 index 00000000000..b7c5c08cef2 --- /dev/null +++ b/p2/org.eclipse.cdt.p2/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.p2 + eclipse-plugin + diff --git a/pom.xml b/pom.xml new file mode 100644 index 00000000000..79dbe5ca2fd --- /dev/null +++ b/pom.xml @@ -0,0 +1,343 @@ + + + 4.0.0 + + + 3.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + pom + CDT Parent + + + 0.13.0-SNAPSHOT + 3.7 + http://download.eclipse.org/eclipse/updates/${platform-version} + R20110523182458 + http://download.eclipse.org/tools/orbit/downloads/drops/${orbit-version}/repository + 3.3 + http://download.eclipse.org/tm/updates/${tm-version} + + + + + Eclipse Public License v1.0 + + All rights reserved. + + This program and the accompanying materials are made + available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.htm + + + + + + releng/org.eclipse.cdt + core/org.eclipse.cdt.core + core/org.eclipse.cdt.core.linux + core/org.eclipse.cdt.core.linux.x86 + core/org.eclipse.cdt.core.linux.x86_64 + core/org.eclipse.cdt.core.linux.ppc64 + core/org.eclipse.cdt.core.win32 + core/org.eclipse.cdt.core.macosx + core/org.eclipse.cdt.core.aix + core/org.eclipse.cdt.core.solaris + codan/org.eclipse.cdt.codan.core + codan/org.eclipse.cdt.codan.ui + codan/org.eclipse.cdt.codan.core.cxx + codan/org.eclipse.cdt.codan.ui.cxx + codan/org.eclipse.cdt.codan.checkers + codan/org.eclipse.cdt.codan.checkers.ui + debug/org.eclipse.cdt.debug.core + debug/org.eclipse.cdt.debug.ui + build/org.eclipse.cdt.make.core + build/org.eclipse.cdt.make.ui + build/org.eclipse.cdt.managedbuilder.core + build/org.eclipse.cdt.managedbuilder.ui + core/org.eclipse.cdt.ui + doc/org.eclipse.cdt.doc.user + dsf/org.eclipse.cdt.dsf + dsf/org.eclipse.cdt.dsf.ui + releng/org.eclipse.cdt.platform-feature + releng/org.eclipse.cdt.platform.source-feature + + build/org.eclipse.cdt.managedbuilder.gnu.ui + build/org.eclipse.cdt.gnu.build-feature + build/org.eclipse.cdt.gnu.build.source-feature + + debug/org.eclipse.cdt.gdb + debug/org.eclipse.cdt.gdb.ui + debug/org.eclipse.cdt.gdb-feature + debug/org.eclipse.cdt.gdb.source-feature + + debug/org.eclipse.cdt.debug.mi.core + debug/org.eclipse.cdt.debug.mi.ui + launch/org.eclipse.cdt.launch + debug/org.eclipse.cdt.gnu.debug-feature + debug/org.eclipse.cdt.gnu.debug.source-feature + + dsf-gdb/org.eclipse.cdt.dsf.gdb + dsf-gdb/org.eclipse.cdt.dsf.gdb.ui + dsf-gdb/org.eclipse.cdt.gnu.dsf-feature + dsf-gdb/org.eclipse.cdt.gnu.dsf.source-feature + + p2/org.eclipse.cdt.p2 + p2/org.eclipse.cdt.p2-feature + + releng/org.eclipse.cdt-feature + + doc/org.eclipse.cdt.doc.isv + releng/org.eclipse.cdt.sdk + releng/org.eclipse.cdt.sdk-feature + + lrparser/org.eclipse.cdt.core.lrparser + lrparser/org.eclipse.cdt.core.lrparser.feature + lrparser/org.eclipse.cdt.core.lrparser.source.feature + lrparser/org.eclipse.cdt.core.lrparser.sdk.feature + + upc/org.eclipse.cdt.core.parser.upc + upc/org.eclipse.cdt.core.parser.upc.feature + upc/org.eclipse.cdt.core.parser.upc.source.feature + upc/org.eclipse.cdt.core.parser.upc.sdk.feature + + upc/org.eclipse.cdt.managedbuilder.bupc.ui + upc/org.eclipse.cdt.bupc-feature + + jtag/org.eclipse.cdt.debug.gdbjtag + jtag/org.eclipse.cdt.debug.gdbjtag.core + jtag/org.eclipse.cdt.debug.gdbjtag.ui + jtag/org.eclipse.cdt.debug.gdbjtag-feature + + xlc/org.eclipse.cdt.core.lrparser.xlc + xlc/org.eclipse.cdt.errorparsers.xlc + xlc/org.eclipse.cdt.make.xlc.core + xlc/org.eclipse.cdt.managedbuilder.xlc.core + xlc/org.eclipse.cdt.managedbuilder.xlc.ui + xlc/org.eclipse.cdt.managedbuilder.xlupc.ui + xlc/org.eclipse.cdt.xlc.feature + xlc/org.eclipse.cdt.xlc.source.feature + xlc/org.eclipse.cdt.xlc.sdk-feature + + util/org.eclipse.cdt.util + util/org.eclipse.cdt.util-feature + + memory/org.eclipse.cdt.debug.ui.memory.memorybrowser + memory/org.eclipse.cdt.debug.ui.memory.search + memory/org.eclipse.cdt.debug.ui.memory.traditional + memory/org.eclipse.cdt.debug.ui.memory.transport + memory/org.eclipse.cdt.debug.ui.memory-feature + + cross/org.eclipse.cdt.build.crossgcc + cross/org.eclipse.cdt.build.crossgcc-feature + cross/org.eclipse.cdt.launch.remote + cross/org.eclipse.cdt.launch.remote-feature + + windows/org.eclipse.cdt.msw.build + windows/org.eclipse.cdt.msw-feature + + dsf/org.eclipse.cdt.examples.dsf + dsf/org.eclipse.cdt.examples.dsf.pda + dsf/org.eclipse.cdt.examples.dsf.pda.ui + dsf/org.eclipse.cdt.examples.dsf-feature + + core/org.eclipse.cdt.core.tests + core/org.eclipse.cdt.ui.tests + + releng/org.eclipse.cdt.repo + + + + + platform-${platform-version} + ${platform-site} + p2 + + + orbit-${orbit-version} + ${orbit-site} + p2 + + + tm-${tm-version} + ${tm-site} + p2 + + + + + + sonatype + https://repository.sonatype.org/content/repositories/public + + true + + + true + + + + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho-version} + true + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + linux + gtk + x86 + + + linux + gtk + x86_64 + + + linux + gtk + ppc64 + + + win32 + win32 + x86 + + + win32 + win32 + x86_64 + + + macosx + cocoa + x86 + + + macosx + cocoa + x86_64 + + + aix + gtk + ppc + + + solaris + gtk + sparc + + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + UTF-8 + + + + attach-source + + plugin-source + + + + + + + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + UTF-8 + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + + plugin-source + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.4.1 + + ISO-8859-1 + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.3 + + + org.codehaus.mojo + findbugs-maven-plugin + 2.3.2 + + true + false + + + + + check + + + + + + org.apache.maven.plugins + maven-pmd-plugin + 2.5 + + utf-8 + 100 + 1.5 + xml + false + + + + + cpd-check + + + + + + + + diff --git a/releng/org.eclipse.cdt-feature/pom.xml b/releng/org.eclipse.cdt-feature/pom.xml new file mode 100644 index 00000000000..6d0c62769e1 --- /dev/null +++ b/releng/org.eclipse.cdt-feature/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt-feature + eclipse-feature + diff --git a/releng/org.eclipse.cdt.platform-feature/feature.xml b/releng/org.eclipse.cdt.platform-feature/feature.xml index f147293d775..13104659b42 100644 --- a/releng/org.eclipse.cdt.platform-feature/feature.xml +++ b/releng/org.eclipse.cdt.platform-feature/feature.xml @@ -53,26 +53,6 @@ fragment="true" unpack="false"/> - - - - - - + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt.platform-feature + eclipse-feature + diff --git a/releng/org.eclipse.cdt.platform.source-feature/.project b/releng/org.eclipse.cdt.platform.source-feature/.project new file mode 100644 index 00000000000..caa574a7918 --- /dev/null +++ b/releng/org.eclipse.cdt.platform.source-feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.cdt.platform.source-feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/releng/org.eclipse.cdt.platform.source-feature/build.properties b/releng/org.eclipse.cdt.platform.source-feature/build.properties new file mode 100644 index 00000000000..c6af93f4925 --- /dev/null +++ b/releng/org.eclipse.cdt.platform.source-feature/build.properties @@ -0,0 +1,5 @@ +bin.includes = feature.xml,\ + eclipse_update_120.jpg,\ + epl-v10.html,\ + feature.properties,\ + license.html diff --git a/releng/org.eclipse.cdt.platform.source-feature/eclipse_update_120.jpg b/releng/org.eclipse.cdt.platform.source-feature/eclipse_update_120.jpg new file mode 100644 index 0000000000000000000000000000000000000000..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6#3xQ=Xf)+)-Nd-40XsG*R_}%6UWw{Cu`SBX15YO0R#^ctom`-RX`$G(7J$w-uJO&FZ5O=jrXJQmRC} zzf4Uq`va2!-Q-xK9)@+5Ua6(tGtpz6nN1Aah2ZQ;KA + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/releng/org.eclipse.cdt.platform.source-feature/feature.properties b/releng/org.eclipse.cdt.platform.source-feature/feature.properties new file mode 100644 index 00000000000..befcfae4a88 --- /dev/null +++ b/releng/org.eclipse.cdt.platform.source-feature/feature.properties @@ -0,0 +1,166 @@ +############################################################################### +# Copyright (c) 2005, 2010 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=Eclipse C/C++ Development Tooling Source + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse CDT + +# "updateSiteName" property - label for the update site +updateSiteName=Eclipse.org update site + +# "description" property - description of the feature +description=API documentation and source code zips for Eclipse C/C++ development tools. + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +copyright=\ +Copyright (c) 2002, 2011 QNX Software Systems and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/releng/org.eclipse.cdt.platform.source-feature/feature.xml b/releng/org.eclipse.cdt.platform.source-feature/feature.xml new file mode 100644 index 00000000000..11151d339f0 --- /dev/null +++ b/releng/org.eclipse.cdt.platform.source-feature/feature.xml @@ -0,0 +1,181 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/releng/org.eclipse.cdt.platform.source-feature/license.html b/releng/org.eclipse.cdt.platform.source-feature/license.html new file mode 100644 index 00000000000..f19c483b9c8 --- /dev/null +++ b/releng/org.eclipse.cdt.platform.source-feature/license.html @@ -0,0 +1,108 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/releng/org.eclipse.cdt.platform.source-feature/pom.xml b/releng/org.eclipse.cdt.platform.source-feature/pom.xml new file mode 100644 index 00000000000..54a16327fea --- /dev/null +++ b/releng/org.eclipse.cdt.platform.source-feature/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt.platform.source-feature + eclipse-feature + diff --git a/releng/org.eclipse.cdt.repo/.project b/releng/org.eclipse.cdt.repo/.project new file mode 100644 index 00000000000..07342759e6c --- /dev/null +++ b/releng/org.eclipse.cdt.repo/.project @@ -0,0 +1,11 @@ + + + org.eclipse.cdt.repo + + + + + + + + diff --git a/releng/org.eclipse.cdt.repo/category.xml b/releng/org.eclipse.cdt.repo/category.xml new file mode 100644 index 00000000000..0fe4e12d064 --- /dev/null +++ b/releng/org.eclipse.cdt.repo/category.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/releng/org.eclipse.cdt.repo/pom.xml b/releng/org.eclipse.cdt.repo/pom.xml new file mode 100644 index 00000000000..e21aa8d8182 --- /dev/null +++ b/releng/org.eclipse.cdt.repo/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 8.0.0-SNAPSHOT + org.eclipse.cdt.repo + eclipse-repository + diff --git a/releng/org.eclipse.cdt.sdk-feature/pom.xml b/releng/org.eclipse.cdt.sdk-feature/pom.xml new file mode 100644 index 00000000000..8d8fb0696a3 --- /dev/null +++ b/releng/org.eclipse.cdt.sdk-feature/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + org.eclipse.cdt.sdk-feature + eclipse-feature + diff --git a/releng/org.eclipse.cdt.sdk/pom.xml b/releng/org.eclipse.cdt.sdk/pom.xml new file mode 100644 index 00000000000..9c8f32431ae --- /dev/null +++ b/releng/org.eclipse.cdt.sdk/pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 8.0.0-SNAPSHOT + org.eclipse.cdt.sdk + eclipse-plugin + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/releng/org.eclipse.cdt/pom.xml b/releng/org.eclipse.cdt/pom.xml new file mode 100644 index 00000000000..5f8da16e010 --- /dev/null +++ b/releng/org.eclipse.cdt/pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 8.0.0-SNAPSHOT + org.eclipse.cdt + eclipse-plugin + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + none + + + attach-source + none + + + + + + diff --git a/upc/org.eclipse.cdt.bupc-feature/pom.xml b/upc/org.eclipse.cdt.bupc-feature/pom.xml new file mode 100644 index 00000000000..8a069b6827d --- /dev/null +++ b/upc/org.eclipse.cdt.bupc-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.3-SNAPSHOT + org.eclipse.cdt.bupc-feature + eclipse-feature + diff --git a/upc/org.eclipse.cdt.core.parser.upc.feature/pom.xml b/upc/org.eclipse.cdt.core.parser.upc.feature/pom.xml new file mode 100644 index 00000000000..22a9645d5ca --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc.feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.parser.upc.feature + eclipse-feature + diff --git a/upc/org.eclipse.cdt.core.parser.upc.sdk.feature/pom.xml b/upc/org.eclipse.cdt.core.parser.upc.sdk.feature/pom.xml new file mode 100644 index 00000000000..a5db8467e60 --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc.sdk.feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.parser.upc.sdk.feature + eclipse-feature + diff --git a/upc/org.eclipse.cdt.core.parser.upc.source.feature/.project b/upc/org.eclipse.cdt.core.parser.upc.source.feature/.project new file mode 100644 index 00000000000..77c267d6435 --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc.source.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.cdt.core.parser.upc.source.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/upc/org.eclipse.cdt.core.parser.upc.source.feature/build.properties b/upc/org.eclipse.cdt.core.parser.upc.source.feature/build.properties new file mode 100644 index 00000000000..c6af93f4925 --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc.source.feature/build.properties @@ -0,0 +1,5 @@ +bin.includes = feature.xml,\ + eclipse_update_120.jpg,\ + epl-v10.html,\ + feature.properties,\ + license.html diff --git a/upc/org.eclipse.cdt.core.parser.upc.source.feature/eclipse_update_120.jpg b/upc/org.eclipse.cdt.core.parser.upc.source.feature/eclipse_update_120.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bfdf708ad617e4974cac04cc5c1c8192b09bbeb3 GIT binary patch literal 21695 zcmeHvcU)7=((p+_uhNSGp%(=Nr3wV321I%h5riZ_XrTltiYTH8C`eTiL3$Grle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+5Ua6(tGtpz6nN1Aah2ZQ;KA + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/upc/org.eclipse.cdt.core.parser.upc.source.feature/feature.properties b/upc/org.eclipse.cdt.core.parser.upc.source.feature/feature.properties new file mode 100644 index 00000000000..844c248ba97 --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc.source.feature/feature.properties @@ -0,0 +1,167 @@ +############################################################################### +# Copyright (c) 2009, 2010 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=Unified Parallel C Support Source + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse CDT + +# "updateSiteName" property - label for the update site +updateSiteName=Eclipse CDT Update Site + +# "description" property - description of the feature +description=Support for the Unified Parallel C variant of the C programming language. Source code. + +# copyright +copyright=\ +Copyright (c) 2007, 2011 IBM Corporation and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/upc/org.eclipse.cdt.core.parser.upc.source.feature/feature.xml b/upc/org.eclipse.cdt.core.parser.upc.source.feature/feature.xml new file mode 100644 index 00000000000..f06349edbb2 --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc.source.feature/feature.xml @@ -0,0 +1,31 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + diff --git a/upc/org.eclipse.cdt.core.parser.upc.source.feature/license.html b/upc/org.eclipse.cdt.core.parser.upc.source.feature/license.html new file mode 100644 index 00000000000..f19c483b9c8 --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc.source.feature/license.html @@ -0,0 +1,108 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/upc/org.eclipse.cdt.core.parser.upc.source.feature/pom.xml b/upc/org.eclipse.cdt.core.parser.upc.source.feature/pom.xml new file mode 100644 index 00000000000..424facea986 --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc.source.feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.parser.upc.source.feature + eclipse-feature + diff --git a/upc/org.eclipse.cdt.core.parser.upc/pom.xml b/upc/org.eclipse.cdt.core.parser.upc/pom.xml new file mode 100644 index 00000000000..372b35a0bd6 --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.parser.upc + eclipse-plugin + diff --git a/upc/org.eclipse.cdt.managedbuilder.bupc.ui/pom.xml b/upc/org.eclipse.cdt.managedbuilder.bupc.ui/pom.xml new file mode 100644 index 00000000000..46ea4b0049f --- /dev/null +++ b/upc/org.eclipse.cdt.managedbuilder.bupc.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.3-SNAPSHOT + org.eclipse.cdt.managedbuilder.bupc.ui + eclipse-plugin + diff --git a/util/org.eclipse.cdt.util-feature/pom.xml b/util/org.eclipse.cdt.util-feature/pom.xml new file mode 100644 index 00000000000..ee2668cccd5 --- /dev/null +++ b/util/org.eclipse.cdt.util-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.util-feature + eclipse-feature + diff --git a/util/org.eclipse.cdt.util/pom.xml b/util/org.eclipse.cdt.util/pom.xml new file mode 100644 index 00000000000..da93068898d --- /dev/null +++ b/util/org.eclipse.cdt.util/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.0.100-SNAPSHOT + org.eclipse.cdt.util + eclipse-plugin + diff --git a/windows/org.eclipse.cdt.msw-feature/pom.xml b/windows/org.eclipse.cdt.msw-feature/pom.xml new file mode 100644 index 00000000000..c9dc94c493e --- /dev/null +++ b/windows/org.eclipse.cdt.msw-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.msw-feature + eclipse-feature + diff --git a/windows/org.eclipse.cdt.msw.build/pom.xml b/windows/org.eclipse.cdt.msw.build/pom.xml new file mode 100644 index 00000000000..cb1d872e0d9 --- /dev/null +++ b/windows/org.eclipse.cdt.msw.build/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.msw.build + eclipse-plugin + diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/pom.xml b/xlc/org.eclipse.cdt.core.lrparser.xlc/pom.xml new file mode 100644 index 00000000000..56efe3cff25 --- /dev/null +++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.lrparser.xlc + eclipse-plugin + diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc/pom.xml b/xlc/org.eclipse.cdt.errorparsers.xlc/pom.xml new file mode 100644 index 00000000000..466a63eec57 --- /dev/null +++ b/xlc/org.eclipse.cdt.errorparsers.xlc/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.0.100-SNAPSHOT + org.eclipse.cdt.errorparsers.xlc + eclipse-plugin + diff --git a/xlc/org.eclipse.cdt.make.xlc.core/pom.xml b/xlc/org.eclipse.cdt.make.xlc.core/pom.xml new file mode 100644 index 00000000000..2cfb29eae96 --- /dev/null +++ b/xlc/org.eclipse.cdt.make.xlc.core/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.make.xlc.core + eclipse-plugin + diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/pom.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/pom.xml new file mode 100644 index 00000000000..06f18363fca --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.0.0-SNAPSHOT + org.eclipse.cdt.managedbuilder.xlc.core + eclipse-plugin + diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/pom.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/pom.xml new file mode 100644 index 00000000000..ba4cc90ad23 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 6.1.0-SNAPSHOT + org.eclipse.cdt.managedbuilder.xlc.ui + eclipse-plugin + diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/pom.xml b/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/pom.xml new file mode 100644 index 00000000000..0243e2541f6 --- /dev/null +++ b/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.1.0-SNAPSHOT + org.eclipse.cdt.managedbuilder.xlupc.ui + eclipse-plugin + diff --git a/xlc/org.eclipse.cdt.xlc.feature/pom.xml b/xlc/org.eclipse.cdt.xlc.feature/pom.xml new file mode 100644 index 00000000000..d675c22fa20 --- /dev/null +++ b/xlc/org.eclipse.cdt.xlc.feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 6.1.0-SNAPSHOT + org.eclipse.cdt.xlc.feature + eclipse-feature + diff --git a/xlc/org.eclipse.cdt.xlc.sdk-feature/pom.xml b/xlc/org.eclipse.cdt.xlc.sdk-feature/pom.xml new file mode 100644 index 00000000000..89d8d8b564f --- /dev/null +++ b/xlc/org.eclipse.cdt.xlc.sdk-feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 6.1.0-SNAPSHOT + org.eclipse.cdt.xlc.sdk-feature + eclipse-feature + diff --git a/xlc/org.eclipse.cdt.xlc.source.feature/.project b/xlc/org.eclipse.cdt.xlc.source.feature/.project new file mode 100644 index 00000000000..a1f94e61ff7 --- /dev/null +++ b/xlc/org.eclipse.cdt.xlc.source.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.cdt.xlc.source.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/xlc/org.eclipse.cdt.xlc.source.feature/build.properties b/xlc/org.eclipse.cdt.xlc.source.feature/build.properties new file mode 100644 index 00000000000..64f93a9f0b7 --- /dev/null +++ b/xlc/org.eclipse.cdt.xlc.source.feature/build.properties @@ -0,0 +1 @@ +bin.includes = feature.xml diff --git a/xlc/org.eclipse.cdt.xlc.source.feature/eclipse_update_120.jpg b/xlc/org.eclipse.cdt.xlc.source.feature/eclipse_update_120.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bfdf708ad617e4974cac04cc5c1c8192b09bbeb3 GIT binary patch literal 21695 zcmeHvcU)7=((p+_uhNSGp%(=Nr3wV321I%h5riZ_XrTltiYTH8C`eTiL3$Grle6uPge`61wfz> zKnMH-2t(wlntoUZ0MOS5!~g)G0LUSX01Sj6;2!|t1W0#b0I-Mb{{cHgM85GrK^`dp zjDh{&;{}o4g_%M4W+)aQ`Ia{W{A~pvuts93d%tREoIM6^=!C=Lyq$0!aCH;71=byn z^YsR#4K)C?^2G&J-q>`Y87Oib(yG`r#3&tBpmV+buZH7y1PEApjKiowyHxkU(Hi5-2G-83ief<_Jh+fRXSrN|CA=*)j2XUX~_f zj!rE)&M&}XTx);is8?{CI=Nts$=uL9%3Fptt@w(NMyx4Xvo0Mk%hql-j9GXRQs3b- zvZy5-mvQxJd_(8wrOc8SU8Bq94(F~VWR|-ORQhr>Gf{$CgY0`@~*!7=J4EGX}z^MYhV0my}9>e@je z(%I0OX0mw9@DCCGwFJUHMIiJ7G_c(|82|)Oi{wp>=YxfmePK;|DXQxvrWTTxXk~1? z^ePNXDHa!l9_K|0#ONA>QCtjCAX6X)DN1OqMP^*#<-32yEbpl-hv8E_ysyVYi|YpH z_wmj9%H}+7W~e)u2#VPZAEUWkNBy|qTxz9XGMk&Drkm^Fyow%MPMK>-bpS&Xm4?>n zmzf6^OG&vOu(&oW4*kxUCj|$xJaBDvD){)Bu9LyY#4lB;Z>8x;6}^~2QL_ncF9u9Pl}h7jCzp`Rxd_to{*TD39d(hOkDJ*i zaQgS}TVz;u%v%>46=lT9E%Ob%N{x-L^f9VqzLsoqEnjvduO#q^So|Ync**pr8uF!X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fyaR8z(FV5*Y^^V2VY)+zcU;x7@>vJ6JE0N`D zckJKtR}ETVxe7P#Hp?NpdmgXEXmmHMz7L*`m5x6A{M;$O8FXX{jA^eSRhB<@UlVG6+&g20xt z1eI{dYN3h=gvqJ%i!;ZwHJ%J~S4>3uzqXET9O;cWI2kUK_&iYV7^_MbUq{+%z{n$& z{)unPJ6#3xQ=Xf)+)-Nd-40XsG*R_}%6UWw{Cu`SBX15YO0R#^ctom`-RX`$G(7J$w-uJO&FZ5O=jrXJQmRC} zzf4Uq`va2!-Q-xK9)@+5Ua6(tGtpz6nN1Aah2ZQ;KA + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/xlc/org.eclipse.cdt.xlc.source.feature/feature.properties b/xlc/org.eclipse.cdt.xlc.source.feature/feature.properties new file mode 100644 index 00000000000..1d919eac301 --- /dev/null +++ b/xlc/org.eclipse.cdt.xlc.source.feature/feature.properties @@ -0,0 +1,167 @@ +############################################################################### +# Copyright (c) 2006, 2010 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=XL C/C++ Compiler Support Source + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse CDT + +# "updateSiteName" property - label for the update site +updateSiteName=Eclipse CDT Update Site + +# "description" property - description of the feature +description=Support for the IBM XL C/C++ compilers. Source code. + +# copyright +copyright=\ +Copyright (c) 2006, 2011 IBM Corporation and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/xlc/org.eclipse.cdt.xlc.source.feature/feature.xml b/xlc/org.eclipse.cdt.xlc.source.feature/feature.xml new file mode 100644 index 00000000000..b839bcda267 --- /dev/null +++ b/xlc/org.eclipse.cdt.xlc.source.feature/feature.xml @@ -0,0 +1,66 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + + + diff --git a/xlc/org.eclipse.cdt.xlc.source.feature/license.html b/xlc/org.eclipse.cdt.xlc.source.feature/license.html new file mode 100644 index 00000000000..f19c483b9c8 --- /dev/null +++ b/xlc/org.eclipse.cdt.xlc.source.feature/license.html @@ -0,0 +1,108 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/xlc/org.eclipse.cdt.xlc.source.feature/pom.xml b/xlc/org.eclipse.cdt.xlc.source.feature/pom.xml new file mode 100644 index 00000000000..3fca6e7739b --- /dev/null +++ b/xlc/org.eclipse.cdt.xlc.source.feature/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 6.1.0-SNAPSHOT + org.eclipse.cdt.xlc.source.feature + eclipse-feature + From 079dc72df68e4ea3751aff0582d42e5075edbd3d Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Tue, 28 Jun 2011 16:48:59 -0400 Subject: [PATCH 16/52] Bug 293679: Allow multi-select when attaching to processes --- .../ui/actions/GdbConnectCommand.java | 193 ++++++++++++++---- .../ui/launching/LaunchUIMessages.properties | 3 +- .../ui/launching/ProcessPrompter.java | 14 +- .../ui/launching/ProcessPrompterDialog.java | 72 +++++++ 4 files changed, 234 insertions(+), 48 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/actions/GdbConnectCommand.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/actions/GdbConnectCommand.java index 60c921422dd..c7ce9d8e65b 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/actions/GdbConnectCommand.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/actions/GdbConnectCommand.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2009 Ericsson and others. + * Copyright (c) 2008, 2011 Ericsson and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,12 +7,15 @@ * * Contributors: * Ericsson - initial API and implementation + * Marc Khouzam (Ericsson) - Add support for multi-attach (Bug 293679) *******************************************************************************/ package org.eclipse.cdt.dsf.gdb.internal.ui.actions; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; import java.util.List; +import java.util.Map; import java.util.concurrent.ExecutionException; import java.util.concurrent.RejectedExecutionException; @@ -21,6 +24,7 @@ import org.eclipse.cdt.dsf.concurrent.DataRequestMonitor; import org.eclipse.cdt.dsf.concurrent.DsfExecutor; import org.eclipse.cdt.dsf.concurrent.DsfRunnable; import org.eclipse.cdt.dsf.concurrent.IDsfStatusConstants; +import org.eclipse.cdt.dsf.concurrent.ImmediateExecutor; import org.eclipse.cdt.dsf.concurrent.Query; import org.eclipse.cdt.dsf.concurrent.RequestMonitor; import org.eclipse.cdt.dsf.datamodel.IDMContext; @@ -31,6 +35,7 @@ import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService; import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService.ICommandControlDMContext; import org.eclipse.cdt.dsf.gdb.actions.IConnect; import org.eclipse.cdt.dsf.gdb.internal.ui.GdbUIPlugin; +import org.eclipse.cdt.dsf.gdb.internal.ui.launching.LaunchUIMessages; import org.eclipse.cdt.dsf.gdb.internal.ui.launching.ProcessPrompter.PrompterInfo; import org.eclipse.cdt.dsf.gdb.launching.IProcessExtendedInfo; import org.eclipse.cdt.dsf.gdb.launching.LaunchMessages; @@ -41,8 +46,10 @@ import org.eclipse.cdt.dsf.gdb.service.SessionType; import org.eclipse.cdt.dsf.service.DsfServicesTracker; import org.eclipse.cdt.dsf.service.DsfSession; import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; 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.debug.core.DebugPlugin; @@ -58,6 +65,14 @@ public class GdbConnectCommand implements IConnect { private final DsfExecutor fExecutor; private final DsfServicesTracker fTracker; + // A map of processName to path, that allows us to remember the path to the binary file + // for a process with a particular name. We can then re-use the same binary for another + // process with the same name. This allows a user to connect to multiple processes + // with the same name without having to be prompted each time for a path. + // This map is associated to the current debug session only, therefore the user can + // reset it by using a new debug session. + private Map fProcessNameToBinaryMap = new HashMap(); + public GdbConnectCommand(DsfSession session) { fExecutor = session.getExecutor(); fTracker = new DsfServicesTracker(GdbUIPlugin.getBundleContext(), session.getId()); @@ -94,7 +109,12 @@ public class GdbConnectCommand implements IConnect { return false; } - // Need a job because prompter.handleStatus will block + /** + * This job will prompt the user to select a set of processes + * to attach too. + * We need a job because prompter.handleStatus will block and + * we don't want to block the executor. + */ protected class PromptForPidJob extends Job { // The list of processes used in the case of an ATTACH session @@ -131,7 +151,7 @@ public class GdbConnectCommand implements IConnect { Object result = prompter.handleStatus(processPromptStatus, info); if (result == null) { fRequestMonitor.cancel(); - } else if (result instanceof Integer || result instanceof String) { + } else if (result instanceof IProcessExtendedInfo[] || result instanceof String) { fRequestMonitor.setData(result); } else { fRequestMonitor.setStatus(NO_PID_STATUS); @@ -145,32 +165,49 @@ public class GdbConnectCommand implements IConnect { } }; - // Need a job to free the executor while we prompt the user for a binary path - // Bug 344892 + /** + * This job will prompt the user for a path to the binary to use, + * and then will attach to the process. + * We need a job to free the executor while we prompt the user for + * a binary path. Bug 344892 + */ private class PromptAndAttachToProcessJob extends UIJob { private final String fPid; private final RequestMonitor fRm; + private final String fTitle; + private final String fProcName; - public PromptAndAttachToProcessJob(String pid, RequestMonitor rm) { + public PromptAndAttachToProcessJob(String pid, String title, String procName, RequestMonitor rm) { super(""); //$NON-NLS-1$ fPid = pid; + fTitle = title; + fProcName = procName; fRm = rm; } @Override public IStatus runInUIThread(IProgressMonitor monitor) { - String binaryPath = null; - - Shell shell = Display.getCurrent().getActiveShell(); - if (shell != null) { - FileDialog fd = new FileDialog(shell, SWT.NONE); - binaryPath = fd.open(); - } + // Have we already see the binary for a process with this name? + String binaryPath = fProcessNameToBinaryMap.get(fProcName); + if (binaryPath == null) { + // prompt for the binary path + Shell shell = Display.getCurrent().getActiveShell(); + if (shell != null) { + FileDialog fd = new FileDialog(shell, SWT.NONE); + fd.setText(fTitle); + binaryPath = fd.open(); + } + } + if (binaryPath == null) { // The user pressed the cancel button, so we cancel the attach gracefully fRm.done(); } else { + // Store the path of the binary so we can use it again for another process + // with the same name + fProcessNameToBinaryMap.put(fProcName, binaryPath); + final String finalBinaryPath = binaryPath; fExecutor.execute(new DsfRunnable() { public void run() { @@ -232,7 +269,7 @@ public class GdbConnectCommand implements IConnect { @Override protected void handleSuccess() { new PromptForPidJob( - "Prompt for Process", newProcessSupported, procInfoList.toArray(new IProcessExtendedInfo[0]), //$NON-NLS-1$ + LaunchUIMessages.getString("ProcessPrompter.PromptJob"), newProcessSupported, procInfoList.toArray(new IProcessExtendedInfo[0]), //$NON-NLS-1$ new DataRequestMonitor(fExecutor, rm) { @Override protected void handleCancel() { @@ -241,36 +278,15 @@ public class GdbConnectCommand implements IConnect { } @Override protected void handleSuccess() { - // New cycle, look for service again - final IGDBProcesses procService = fTracker.getService(IGDBProcesses.class); - if (procService != null) { - Object data = getData(); - if (data instanceof String) { - // User wants to start a new process - String binaryPath = (String)data; - procService.debugNewProcess( - controlCtx, binaryPath, - // khouzam, maybe we should at least pass stopOnMain? - new HashMap(), new DataRequestMonitor(fExecutor, rm)); - } else if (data instanceof Integer) { - String pidStr = Integer.toString((Integer)data); - final IGDBBackend backend = fTracker.getService(IGDBBackend.class); - if (backend != null && backend.getSessionType() == SessionType.REMOTE) { - // For remote attach, we must set the binary first so we need to prompt the user. - // Because the prompt is a very long operation, we need to run outside the - // executor, so we don't lock it. - // Bug 344892 - new PromptAndAttachToProcessJob(pidStr, rm).schedule(); - } else { - // For a local attach, GDB can figure out the binary automatically, - // so we don't need to prompt for it. - IProcessDMContext procDmc = procService.createProcessContext(controlCtx, pidStr); - procService.attachDebuggerToProcess(procDmc, null, new DataRequestMonitor(fExecutor, rm)); - } - } else { - rm.setStatus(new Status(IStatus.ERROR, GdbUIPlugin.PLUGIN_ID, IDsfStatusConstants.INTERNAL_ERROR, "Invalid return type for process prompter", null)); //$NON-NLS-1$ - rm.done(); - } + Object data = getData(); + if (data instanceof String) { + // User wants to start a new process + startNewProcess(controlCtx, (String)data, rm); + } else if (data instanceof IProcessExtendedInfo[]) { + attachToProcesses(controlCtx, (IProcessExtendedInfo[])data, rm); + } else { + rm.setStatus(new Status(IStatus.ERROR, GdbUIPlugin.PLUGIN_ID, IDsfStatusConstants.INTERNAL_ERROR, "Invalid return type for process prompter", null)); //$NON-NLS-1$ + rm.done(); } } }).schedule(); @@ -350,4 +366,93 @@ public class GdbConnectCommand implements IConnect { } }); } + + private void startNewProcess(ICommandControlDMContext controlDmc, String binaryPath, RequestMonitor rm) { + final IGDBProcesses procService = fTracker.getService(IGDBProcesses.class); + procService.debugNewProcess( + controlDmc, binaryPath, + new HashMap(), new DataRequestMonitor(fExecutor, rm)); + } + + private void attachToProcesses(final ICommandControlDMContext controlDmc, IProcessExtendedInfo[] processes, final RequestMonitor rm) { + + // For a local attach, GDB can figure out the binary automatically, + // so we don't need to prompt for it. + final IGDBProcesses procService = fTracker.getService(IGDBProcesses.class); + final IGDBBackend backend = fTracker.getService(IGDBBackend.class); + + if (procService != null && backend != null) { + // Attach to each process in a sequential fashion. We must do this + // to be able to check if we are allowed to attach to the next process. + // Attaching to all of them in parallel would assume that all attach are supported. + + // Create a list of all our processes so we can attach to one at a time. + // We need to create a new list so that we can remove elements from it. + final List procList = new ArrayList(Arrays.asList(processes)); + + class AttachToProcessRequestMonitor extends DataRequestMonitor { + public AttachToProcessRequestMonitor() { + super(ImmediateExecutor.getInstance(), null); + } + + @Override + protected void handleCompleted() { + if (!isSuccess()) { + // Failed to attach to a process. Just ignore it and move on. + } + + // Check that we have a process to attach to + if (procList.size() > 0) { + + // Check that we can actually attach to the process. + // This is because some backends may not support multi-process. + // If the backend does not support multi-process, we only attach to the first process. + procService.isDebuggerAttachSupported(controlDmc, new DataRequestMonitor(ImmediateExecutor.getInstance(), null) { + @Override + protected void handleCompleted() { + if (isSuccess() && getData()) { + // Can attach to process + + // Remove process from list and attach to it. + IProcessExtendedInfo process = procList.remove(0); + String pidStr = Integer.toString(process.getPid()); + + if (backend.getSessionType() == SessionType.REMOTE) { + // For remote attach, we must set the binary first so we need to prompt the user. + // Because the prompt is a very long operation, we need to run outside the + // executor, so we don't lock it. + // Bug 344892 + IPath processPath = new Path(process.getName()); + String processShortName = processPath.lastSegment(); + new PromptAndAttachToProcessJob(pidStr, + LaunchUIMessages.getString("ProcessPrompterDialog.TitlePrefix") + process.getName(), //$NON-NLS-1$ + processShortName, new AttachToProcessRequestMonitor()).schedule(); + } else { + IProcessDMContext procDmc = procService.createProcessContext(controlDmc, pidStr); + procService.attachDebuggerToProcess(procDmc, null, new AttachToProcessRequestMonitor()); + } + } else { + // Not allowed to attach to another process. Just stop. + rm.done(); + } + } + }); + } else { + // No other process to attach to + rm.done(); + } + } + }; + + // Trigger the first attach. + new AttachToProcessRequestMonitor().done(); + + } else { + rm.setStatus(new Status(IStatus.ERROR, GdbUIPlugin.PLUGIN_ID, IDsfStatusConstants.INTERNAL_ERROR, "Cannot find service", null)); //$NON-NLS-1$ + rm.done(); + } + + } } + + diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/LaunchUIMessages.properties b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/LaunchUIMessages.properties index 5262c153f75..9c90e6e21ea 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/LaunchUIMessages.properties +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/LaunchUIMessages.properties @@ -226,5 +226,6 @@ LocalCDILaunchDelegate.10=Failed to set program arguments, environment or workin ProcessPrompter.Core=core ProcessPrompter.Cores=cores +ProcessPrompter.PromptJob=Prompt for Process ProcessPrompterDialog.New=New... - +ProcessPrompterDialog.TitlePrefix=Choose binary for process: \ No newline at end of file diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/ProcessPrompter.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/ProcessPrompter.java index 8d75ccf1ba5..666bbfebba7 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/ProcessPrompter.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/ProcessPrompter.java @@ -8,6 +8,7 @@ * Contributors: * QNX Software Systems - initial API and implementation * Ericsson - Modified for DSF + * Marc Khouzam (Ericsson) - Add support for multi-attach (Bug 293679) *******************************************************************************/ package org.eclipse.cdt.dsf.gdb.internal.ui.launching; @@ -150,6 +151,9 @@ public class ProcessPrompter implements IStatusHandler { dialog.setTitle(LaunchMessages.getString("LocalAttachLaunchDelegate.Select_Process")); //$NON-NLS-1$ dialog.setMessage(LaunchMessages.getString("LocalAttachLaunchDelegate.Select_Process_to_attach_debugger_to")); //$NON-NLS-1$ + // Allow for multiple selection + dialog.setMultipleSelection(true); + dialog.setElements(plist); if (dialog.open() == Window.OK) { // First check if the user pressed the New button @@ -158,9 +162,13 @@ public class ProcessPrompter implements IStatusHandler { return binaryPath; } - IProcessExtendedInfo processInfo = (IProcessExtendedInfo)dialog.getFirstResult(); - if (processInfo != null) { - return new Integer(processInfo.getPid()); + Object[] results = dialog.getResult(); + if (results != null) { + IProcessExtendedInfo[] processes = new IProcessExtendedInfo[results.length]; + for (int i=0; i Date: Tue, 28 Jun 2011 12:02:57 -0400 Subject: [PATCH 17/52] Update pom.xml to match version update in dsf.gdb. --- dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml b/dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml index f9139527dfd..41bde8047f0 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/pom.xml @@ -11,7 +11,7 @@ ../../pom.xml - 4.0.0-SNAPSHOT + 4.1.0-SNAPSHOT org.eclipse.cdt.dsf.gdb eclipse-plugin From 7cfdf1b5e238785de722f095430ef716dcb2e696 Mon Sep 17 00:00:00 2001 From: Anton Leherbauer Date: Wed, 29 Jun 2011 11:39:06 +0200 Subject: [PATCH 18/52] Bug 350448 - [Content Assist] Cannot disable help-proposals --- core/org.eclipse.cdt.ui/plugin.xml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/org.eclipse.cdt.ui/plugin.xml b/core/org.eclipse.cdt.ui/plugin.xml index 0c7eac87585..047744ab5e4 100644 --- a/core/org.eclipse.cdt.ui/plugin.xml +++ b/core/org.eclipse.cdt.ui/plugin.xml @@ -3055,15 +3055,6 @@ - - - - - Date: Wed, 29 Jun 2011 11:47:17 +0200 Subject: [PATCH 19/52] Bug 347298: Array type in field access. --- .../META-INF/MANIFEST.MF | 2 +- .../core/parser/tests/ast2/AST2CPPTests.java | 11 +++ .../org.eclipse.cdt.core/META-INF/MANIFEST.MF | 2 +- .../dom/ast/cpp/ICPPASTFieldReference.java | 7 ++ .../dom/parser/cpp/CPPASTFieldReference.java | 72 ++++++++++++++++--- .../dom/parser/cpp/CPPASTUnaryExpression.java | 18 ++--- .../parser/cpp/semantics/CPPSemantics.java | 72 +++---------------- .../dom/parser/cpp/semantics/CPPVisitor.java | 15 ++-- .../dom/parser/cpp/semantics/LookupData.java | 61 +++++++--------- 9 files changed, 128 insertions(+), 132 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/META-INF/MANIFEST.MF b/core/org.eclipse.cdt.core.tests/META-INF/MANIFEST.MF index 5ee390fd79e..fa08a99b27f 100644 --- a/core/org.eclipse.cdt.core.tests/META-INF/MANIFEST.MF +++ b/core/org.eclipse.cdt.core.tests/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: org.eclipse.cdt.core.tests Bundle-SymbolicName: org.eclipse.cdt.core.tests; singleton:=true -Bundle-Version: 5.3.0.qualifier +Bundle-Version: 5.4.0.qualifier Bundle-Activator: org.eclipse.cdt.core.testplugin.CTestPlugin Export-Package: org.eclipse.cdt.core.cdescriptor.tests, org.eclipse.cdt.core.envvar, diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java index c64ca6ddbb2..93a0582d0ca 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java @@ -9391,4 +9391,15 @@ public class AST2CPPTests extends AST2BaseTest { assertTrue(qn.isDeclaration()); assertTrue(qn.getLastName().isDeclaration()); } + + // struct S{ + // void foo(){} + // }; + // void test(){ + // S s[1]; + // s->foo(); + // } + public void testMemberAccessForArray_347298() throws Exception { + parseAndCheckBindings(); + } } diff --git a/core/org.eclipse.cdt.core/META-INF/MANIFEST.MF b/core/org.eclipse.cdt.core/META-INF/MANIFEST.MF index 238adb9b4f9..e328381ed98 100644 --- a/core/org.eclipse.cdt.core/META-INF/MANIFEST.MF +++ b/core/org.eclipse.cdt.core/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.cdt.core; singleton:=true -Bundle-Version: 5.3.0.qualifier +Bundle-Version: 5.4.0.qualifier Bundle-Activator: org.eclipse.cdt.core.CCorePlugin Bundle-Vendor: %providerName Bundle-Localization: plugin diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFieldReference.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFieldReference.java index 4282cda9e2a..03a06174cbe 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFieldReference.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFieldReference.java @@ -13,6 +13,7 @@ package org.eclipse.cdt.core.dom.ast.cpp; import org.eclipse.cdt.core.dom.ast.IASTFieldReference; import org.eclipse.cdt.core.dom.ast.IASTImplicitNameOwner; +import org.eclipse.cdt.core.dom.ast.IType; /** * Certain field references in C++ require the use the keyword template to @@ -45,4 +46,10 @@ public interface ICPPASTFieldReference extends IASTFieldReference, IASTImplicitN * @since 5.3 */ public ICPPASTFieldReference copy(CopyStyle style); + + /** + * Returns the type of the field owner. + * @since 5.4 + */ + public IType getFieldOwnerType(); } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTFieldReference.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTFieldReference.java index ebd4f0a2461..7ca5e3f97f6 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTFieldReference.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTFieldReference.java @@ -17,12 +17,11 @@ import static org.eclipse.cdt.core.dom.ast.IASTExpression.ValueCategory.LVALUE; import static org.eclipse.cdt.core.dom.ast.IASTExpression.ValueCategory.PRVALUE; import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.ExpressionTypes.glvalueType; import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.ExpressionTypes.prvalueType; -import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.ALLCVQ; -import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.CVTYPE; -import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.REF; -import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.TDEF; +import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.ExpressionTypes.typeFromFunctionCall; +import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.*; import java.util.ArrayList; +import java.util.Collection; import java.util.List; import org.eclipse.cdt.core.dom.ast.ASTVisitor; @@ -41,6 +40,7 @@ import org.eclipse.cdt.core.dom.ast.ISemanticProblem; import org.eclipse.cdt.core.dom.ast.IType; import org.eclipse.cdt.core.dom.ast.IVariable; import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFieldReference; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPClassType; import org.eclipse.cdt.core.dom.ast.cpp.ICPPField; import org.eclipse.cdt.core.dom.ast.cpp.ICPPFunction; import org.eclipse.cdt.core.dom.ast.cpp.ICPPMethod; @@ -139,11 +139,7 @@ public class CPPASTFieldReference extends ASTNode implements ICPPASTFieldReferen // collect the function bindings List functionBindings = new ArrayList(); - try { - CPPSemantics.getFieldOwnerType(this, functionBindings); - } catch (DOMException e) { - return implicitNames = IASTImplicitName.EMPTY_NAME_ARRAY; - } + getFieldOwnerType(functionBindings); if (functionBindings.isEmpty()) return implicitNames = IASTImplicitName.EMPTY_NAME_ARRAY; @@ -319,4 +315,62 @@ public class CPPASTFieldReference extends ASTNode implements ICPPASTFieldReferen public IBinding[] findBindings(IASTName n, boolean isPrefix) { return findBindings(n, isPrefix, null); } + + /** + * For a pointer dereference expression e1->e2, return the type that e1 ultimately evaluates to + * after chaining overloaded class member access operators operator->() calls. + */ + public IType getFieldOwnerType() { + return getFieldOwnerType(null); + } + + /* + * Also collects the function bindings if requested. + */ + private IType getFieldOwnerType(Collection functionBindings) { + final IASTExpression owner = getFieldOwner(); + if (owner == null) + return null; + + IType type= owner.getExpressionType(); + if (!isPointerDereference()) + return type; + + // bug 205964: as long as the type is a class type, recurse. + // Be defensive and allow a max of 20 levels. + for (int j = 0; j < 20; j++) { + // for unknown types we cannot determine the overloaded -> operator + IType classType= getUltimateTypeUptoPointers(type); + if (classType instanceof ICPPUnknownType) + return CPPUnknownClass.createUnnamedInstance(); + + if (!(classType instanceof ICPPClassType)) + break; + + /* + * 13.5.6-1: An expression x->m is interpreted as (x.operator->())->m for a + * class object x of type T + * + * Construct an AST fragment for x.operator-> which the lookup routines can + * examine for type information. + */ + + ICPPFunction op = CPPSemantics.findOverloadedOperator(this, type, (ICPPClassType) classType); + if (op == null) + break; + + if (functionBindings != null) + functionBindings.add(op); + + type= typeFromFunctionCall(op); + type= SemanticUtil.mapToAST(type, owner); + } + + IType prValue= prvalueType(type); + if (prValue instanceof IPointerType) { + return glvalueType(((IPointerType) prValue).getType()); + } + + return new ProblemType(ISemanticProblem.TYPE_UNKNOWN_FOR_EXPRESSION); + } } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTUnaryExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTUnaryExpression.java index 9236b6be6b3..1905933da34 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTUnaryExpression.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTUnaryExpression.java @@ -16,9 +16,7 @@ package org.eclipse.cdt.internal.core.dom.parser.cpp; import static org.eclipse.cdt.core.dom.ast.IASTExpression.ValueCategory.LVALUE; import static org.eclipse.cdt.core.dom.ast.IASTExpression.ValueCategory.PRVALUE; import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.ExpressionTypes.*; -import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.CVTYPE; -import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.REF; -import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.TDEF; +import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.getUltimateTypeUptoPointers; import org.eclipse.cdt.core.dom.ast.ASTVisitor; import org.eclipse.cdt.core.dom.ast.DOMException; @@ -28,7 +26,6 @@ import org.eclipse.cdt.core.dom.ast.IASTImplicitName; import org.eclipse.cdt.core.dom.ast.IASTName; import org.eclipse.cdt.core.dom.ast.IASTNode; import org.eclipse.cdt.core.dom.ast.IASTUnaryExpression; -import org.eclipse.cdt.core.dom.ast.IArrayType; import org.eclipse.cdt.core.dom.ast.IBinding; import org.eclipse.cdt.core.dom.ast.IFunction; import org.eclipse.cdt.core.dom.ast.IPointerType; @@ -46,7 +43,6 @@ import org.eclipse.cdt.internal.core.dom.parser.ProblemBinding; import org.eclipse.cdt.internal.core.dom.parser.ProblemType; import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPSemantics; import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor; -import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil; /** * Unary expression in c++ @@ -249,15 +245,15 @@ public class CPPASTUnaryExpression extends ASTNode implements ICPPASTUnaryExpres if (op == op_star) { IType type= operand.getExpressionType(); - type = SemanticUtil.getNestedType(type, TDEF | REF | CVTYPE); - if (type instanceof ISemanticProblem) { - return type; - } - - if (type instanceof IPointerType || type instanceof IArrayType) { + type = prvalueType(type); + if (type instanceof IPointerType) { type= ((ITypeContainer) type).getType(); return glvalueType(type); } + if (type instanceof ISemanticProblem) { + return type; + } + type= getUltimateTypeUptoPointers(type); if (type instanceof ICPPUnknownType) { // mstodo Type of unknown return CPPUnknownClass.createUnnamedInstance(); diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java index c3661edffcd..c7b538a33eb 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java @@ -23,7 +23,6 @@ import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUti import java.util.ArrayList; import java.util.Arrays; -import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; @@ -2922,69 +2921,6 @@ public class CPPSemantics { return result; } - /** - * For a pointer dereference expression e1->e2, return the type that e1 ultimately evaluates to - * when chaining overloaded class member access operators operator->() calls. - * @param fieldReference - * @return the type the field owner expression ultimately evaluates to when chaining overloaded - * class member access operators operator->() calls. - * @throws DOMException - */ - public static IType getFieldOwnerType(ICPPASTFieldReference fieldReference) throws DOMException { - return getFieldOwnerType(fieldReference, null); - } - - /* - * Also collects the function bindings if requested. - */ - public static IType getFieldOwnerType(ICPPASTFieldReference fieldReference, Collection functionBindings) throws DOMException { - final IASTExpression owner = fieldReference.getFieldOwner(); - if (owner == null) - return null; - - IType type= SemanticUtil.getNestedType(owner.getExpressionType(), TDEF|REF); - if (!fieldReference.isPointerDereference()) - return type; - - // bug 205964: as long as the type is a class type, recurse. - // Be defensive and allow a max of 10 levels. - boolean foundOperator= false; - for (int j = 0; j < 10; j++) { - IType uTemp= getUltimateTypeUptoPointers(type); - if (uTemp instanceof IPointerType) - return type; - - // for unknown types we cannot determine the overloaded -> operator - if (uTemp instanceof ICPPUnknownType) - return CPPUnknownClass.createUnnamedInstance(); - - if (!(uTemp instanceof ICPPClassType)) - break; - - /* - * 13.5.6-1: An expression x->m is interpreted as (x.operator->())->m for a - * class object x of type T - * - * Construct an AST fragment for x.operator-> which the lookup routines can - * examine for type information. - */ - - IASTExpression arg = createArgForType(fieldReference, type); - ICPPFunction op = findOverloadedOperator(fieldReference, new IASTExpression[] {arg}, uTemp, OverloadableOperator.ARROW, LookupMode.NO_GLOBALS); - if (op == null) - break; - - if (functionBindings != null) - functionBindings.add(op); - - type= SemanticUtil.getNestedType(op.getType().getReturnType(), TDEF|REF); - type= SemanticUtil.mapToAST(type, owner); - foundOperator= true; - } - - return foundOperator ? type : null; - } - public static ICPPFunction findOverloadedOperator(IASTArraySubscriptExpression exp) { final IASTExpression arrayExpression = exp.getArrayExpression(); IASTInitializerClause[] args = {arrayExpression, exp.getArgument()}; @@ -3279,6 +3215,14 @@ public class CPPSemantics { return findOverloadedOperator(dummy, args, op1type, OverloadableOperator.COMMA, LookupMode.LIMITED_GLOBALS); } + /** + * Returns the operator->() function + */ + public static ICPPFunction findOverloadedOperator(ICPPASTFieldReference fieldRef, IType cvQualifiedType, ICPPClassType classType) { + IASTExpression arg = CPPSemantics.createArgForType(fieldRef, cvQualifiedType); + return findOverloadedOperator(fieldRef, new IASTExpression[] {arg}, classType, OverloadableOperator.ARROW, LookupMode.NO_GLOBALS); + } + private static enum LookupMode {NO_GLOBALS, LIMITED_GLOBALS, ALL_GLOBALS} private static ICPPFunction findOverloadedOperator(IASTExpression parent, IASTInitializerClause[] args, IType methodLookupType, OverloadableOperator operator, LookupMode mode) { diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java index 0715609e8ba..476f3a42bff 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java @@ -1121,19 +1121,16 @@ public class CPPVisitor extends ASTQueries { data.usesEnclosingScope= false; } final ICPPASTFieldReference fieldReference = (ICPPASTFieldReference) parent; - IType type = CPPSemantics.getFieldOwnerType(fieldReference); - if (fieldReference.isPointerDereference()) { - type= getUltimateType(type, false); - } else { - type= getUltimateTypeUptoPointers(type); - } + IType type = fieldReference.getFieldOwnerType(); + type= getUltimateTypeUptoPointers(type); if (type instanceof ICPPClassType) { - if (type instanceof IIndexBinding) { - type= (((CPPASTTranslationUnit) fieldReference.getTranslationUnit())).mapToAST((ICPPClassType) type); - } + type= SemanticUtil.mapToAST(type, fieldReference); return ((ICPPClassType) type).getCompositeScope(); } else if (type instanceof ICPPUnknownBinding) { return ((ICPPUnknownBinding) type).asScope(); + } else { + // mstodo introduce problem category + return new CPPScope.CPPScopeProblem(name, ISemanticProblem.TYPE_UNKNOWN_FOR_EXPRESSION); } } else if (parent instanceof IASTGotoStatement || parent instanceof IASTLabelStatement) { while (!(parent instanceof IASTFunctionDefinition)) { diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/LookupData.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/LookupData.java index 8ea3c5caff8..41095ccab2a 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/LookupData.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/LookupData.java @@ -22,7 +22,6 @@ import java.util.List; import java.util.Map; import org.eclipse.cdt.core.dom.ast.ASTNodeProperty; -import org.eclipse.cdt.core.dom.ast.DOMException; import org.eclipse.cdt.core.dom.ast.IASTCompositeTypeSpecifier; import org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier; import org.eclipse.cdt.core.dom.ast.IASTDeclaration; @@ -42,7 +41,6 @@ import org.eclipse.cdt.core.dom.ast.IASTNode; import org.eclipse.cdt.core.dom.ast.IASTParameterDeclaration; import org.eclipse.cdt.core.dom.ast.IASTSimpleDeclaration; import org.eclipse.cdt.core.dom.ast.IBinding; -import org.eclipse.cdt.core.dom.ast.IPointerType; import org.eclipse.cdt.core.dom.ast.IScope; import org.eclipse.cdt.core.dom.ast.IType; import org.eclipse.cdt.core.dom.ast.c.ICASTFieldDesignator; @@ -401,41 +399,30 @@ public class LookupData { nameParent= name.getParent(); } - try { - final ASTNodeProperty prop = name.getPropertyInParent(); - if (prop == CPPSemantics.STRING_LOOKUP_PROPERTY) { - return null; - } - if (prop == IASTFieldReference.FIELD_NAME) { - ICPPASTFieldReference fieldRef = (ICPPASTFieldReference) nameParent; - IType implied= CPPSemantics.getFieldOwnerType(fieldRef); - if (fieldRef.isPointerDereference()) { - implied= SemanticUtil.getUltimateTypeUptoPointers(implied); - if (implied instanceof IPointerType) - return ((IPointerType) implied).getType(); - } - return implied; - } - if (prop == IASTIdExpression.ID_NAME) { - IScope scope = CPPVisitor.getContainingScope(name); - if (scope instanceof ICPPClassScope) { - return ((ICPPClassScope) scope).getClassType(); - } - - return CPPVisitor.getImpliedObjectType(scope); - } - if (prop == IASTDeclarator.DECLARATOR_NAME) { - if (forExplicitFunctionInstantiation()) { - IScope scope = CPPVisitor.getContainingScope(astName); - if (scope instanceof ICPPClassScope) { - return ((ICPPClassScope) scope).getClassType(); - } - } - } - return null; - } catch (DOMException e) { - return e.getProblem(); - } + final ASTNodeProperty prop = name.getPropertyInParent(); + if (prop == CPPSemantics.STRING_LOOKUP_PROPERTY) { + return null; + } + if (prop == IASTFieldReference.FIELD_NAME) { + ICPPASTFieldReference fieldRef = (ICPPASTFieldReference) nameParent; + return fieldRef.getFieldOwnerType(); + } + if (prop == IASTIdExpression.ID_NAME) { + IScope scope = CPPVisitor.getContainingScope(name); + if (scope instanceof ICPPClassScope) { + return ((ICPPClassScope) scope).getClassType(); + } + return CPPVisitor.getImpliedObjectType(scope); + } + if (prop == IASTDeclarator.DECLARATOR_NAME) { + if (forExplicitFunctionInstantiation()) { + IScope scope = CPPVisitor.getContainingScope(astName); + if (scope instanceof ICPPClassScope) { + return ((ICPPClassScope) scope).getClassType(); + } + } + } + return null; } public boolean forFriendship() { From e5539057cae3a4f04684bb5970a49107507eb7cc Mon Sep 17 00:00:00 2001 From: Anton Leherbauer Date: Wed, 29 Jun 2011 15:06:48 +0200 Subject: [PATCH 20/52] Bug 348573 - Deadlock between BinaryRunner and project model serializing lock --- .../model/org/eclipse/cdt/internal/core/model/CProject.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CProject.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CProject.java index 1b88300c7b8..758a83019a8 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CProject.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CProject.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 QNX Software Systems and others. + * Copyright (c) 2000, 2011 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -723,6 +723,7 @@ public class CProject extends Openable implements ICProject { @Override protected void closing(Object info) throws CModelException { if (info instanceof CProjectInfo) { + CModelManager.getDefault().removeBinaryRunner(this); CProjectInfo pinfo = (CProjectInfo)info; if (pinfo.vBin != null) { pinfo.vBin.close(); @@ -731,7 +732,6 @@ public class CProject extends Openable implements ICProject { pinfo.vLib.close(); } pinfo.resetCaches(); - CModelManager.getDefault().removeBinaryRunner(this); } super.closing(info); } From 6669d4f4c13e42088c9888a4eff870d2b96be4f0 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Wed, 29 Jun 2011 00:29:15 -0400 Subject: [PATCH 21/52] Added UI tests. --- core/org.eclipse.cdt.ui.tests/pom.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.ui.tests/pom.xml b/core/org.eclipse.cdt.ui.tests/pom.xml index b1f0c28b45e..4c37196df56 100644 --- a/core/org.eclipse.cdt.ui.tests/pom.xml +++ b/core/org.eclipse.cdt.ui.tests/pom.xml @@ -13,5 +13,23 @@ 5.3.0-SNAPSHOT org.eclipse.cdt.ui.tests - eclipse-plugin + eclipse-test-plugin + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + true + -Xms256m -Xmx512m -XX:MaxPermSize=256M + + **/AutomatedSuite.* + + true + + + + From 842540e7dc087a59183bc4746e4f23e9b5f6b19d Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Wed, 29 Jun 2011 00:42:52 -0400 Subject: [PATCH 22/52] Upverversion cdt.core's pom.xml. --- core/org.eclipse.cdt.core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core/pom.xml b/core/org.eclipse.cdt.core/pom.xml index 4e06491c8b8..d5cad97fae8 100644 --- a/core/org.eclipse.cdt.core/pom.xml +++ b/core/org.eclipse.cdt.core/pom.xml @@ -11,7 +11,7 @@ ../../pom.xml - 5.3.0-SNAPSHOT + 5.4.0-SNAPSHOT org.eclipse.cdt.core eclipse-plugin From dbc896916465b55371cebf17747875fd411c53dc Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Wed, 29 Jun 2011 11:49:37 -0400 Subject: [PATCH 23/52] Bug 350365: Remote attach session should use specified binary --- .../ui/actions/GdbConnectCommand.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/actions/GdbConnectCommand.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/actions/GdbConnectCommand.java index c7ce9d8e65b..4b15eca37a0 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/actions/GdbConnectCommand.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/actions/GdbConnectCommand.java @@ -71,6 +71,8 @@ public class GdbConnectCommand implements IConnect { // with the same name without having to be prompted each time for a path. // This map is associated to the current debug session only, therefore the user can // reset it by using a new debug session. + // This map is only needed for remote sessions, since we don't need to specify + // the binary location for a local attach session. private Map fProcessNameToBinaryMap = new HashMap(); public GdbConnectCommand(DsfSession session) { @@ -187,6 +189,23 @@ public class GdbConnectCommand implements IConnect { @Override public IStatus runInUIThread(IProgressMonitor monitor) { + + // If this is the very first attach of a remote session, check if the user + // specified the binary in the launch. If so, let's add it to our map to + // avoid having to prompt the user for that binary. + // This would be particularly annoying since we didn't use to have + // to do that before we supported multi-process. + // Bug 350365 + if (fProcessNameToBinaryMap.isEmpty()) { + IGDBBackend backend = fTracker.getService(IGDBBackend.class); + if (backend != null) { + IPath binaryPath = backend.getProgramPath(); + if (binaryPath != null && !binaryPath.isEmpty()) { + fProcessNameToBinaryMap.put(binaryPath.lastSegment(), binaryPath.toOSString()); + } + } + } + // Have we already see the binary for a process with this name? String binaryPath = fProcessNameToBinaryMap.get(fProcName); From 510d219b15e96541a52c80c28d96d9debe687407 Mon Sep 17 00:00:00 2001 From: Marc-Andre Laperle Date: Wed, 29 Jun 2011 00:46:04 -0400 Subject: [PATCH 24/52] Bug 350192 - [MS Toolchain] Cannot create C projects for MS Toolchain Also added template associations for hello world templates. --- .../plugin.properties | 4 +- windows/org.eclipse.cdt.msw.build/plugin.xml | 135 +++++++++++++----- 2 files changed, 102 insertions(+), 37 deletions(-) diff --git a/windows/org.eclipse.cdt.msw.build/plugin.properties b/windows/org.eclipse.cdt.msw.build/plugin.properties index 05150db9042..74d382d5ca5 100644 --- a/windows/org.eclipse.cdt.msw.build/plugin.properties +++ b/windows/org.eclipse.cdt.msw.build/plugin.properties @@ -1,6 +1,8 @@ toolchain.name=Microsoft Visual C++ -compiler.name=C/C++ Compiler (cl) +compiler.name.abstract=Abstract Compiler +compiler.name.c=C Compiler (cl) +compiler.name.cpp=C++ Compiler (cl) rc.name=Resource Compiler (rc) linker.name=Linker (link) lib.name=Library Manager (lib) diff --git a/windows/org.eclipse.cdt.msw.build/plugin.xml b/windows/org.eclipse.cdt.msw.build/plugin.xml index 75f0b616041..768292ef0b2 100644 --- a/windows/org.eclipse.cdt.msw.build/plugin.xml +++ b/windows/org.eclipse.cdt.msw.build/plugin.xml @@ -4,32 +4,13 @@ - - - - - + name="Optimization"> + + + + + + + + + + + - - + superClass="org.eclipse.cdt.msvc.cl.cpp"> + + + superClass="org.eclipse.cdt.msvc.cl.cpp"> + + @@ -549,7 +581,7 @@ + superClass="org.eclipse.cdt.msvc.cl.cpp"> + + + superClass="org.eclipse.cdt.msvc.cl.cpp"> + + @@ -606,7 +646,7 @@ + superClass="org.eclipse.cdt.msvc.cl.cpp"> + + + superClass="org.eclipse.cdt.msvc.cl.cpp"> + + @@ -655,5 +703,20 @@ scope="project"> + + + + From b00b18abf69fe21e1639d0906e2a23bf223a6076 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Wed, 29 Jun 2011 02:54:06 -0400 Subject: [PATCH 25/52] Upversion the pom for core.tests. --- core/org.eclipse.cdt.core.tests/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core.tests/pom.xml b/core/org.eclipse.cdt.core.tests/pom.xml index 887a223955e..b546001a175 100644 --- a/core/org.eclipse.cdt.core.tests/pom.xml +++ b/core/org.eclipse.cdt.core.tests/pom.xml @@ -11,7 +11,7 @@ ../../pom.xml - 5.3.0-SNAPSHOT + 5.4.0-SNAPSHOT org.eclipse.cdt.core.tests eclipse-test-plugin From b7f01c65b21cc8490d4a4bf3ea42aa96d6d8bc51 Mon Sep 17 00:00:00 2001 From: Michael Lindo Date: Wed, 29 Jun 2011 14:25:56 -0400 Subject: [PATCH 26/52] Bug 350501 - add support in managed build projects for xlC v11 compiler options Change-Id: I2281c37fc120ca788641bd7f4caae627927900cd --- .../META-INF/MANIFEST.MF | 2 +- .../plugin.properties | 15 +- .../plugin.xml | 579 +++++++++++++++++- .../pom.xml | 2 +- .../cdt/managedbuilder/xlc/ui/Messages.java | 3 +- .../managedbuilder/xlc/ui/messages.properties | 3 +- .../ui/preferences/PreferenceConstants.java | 12 +- .../preferences/XLCompilerPreferencePage.java | 5 +- .../ui/properties/XLCompilerPropertyPage.java | 4 +- .../ui/properties/applicability.properties | 19 +- .../xlc/ui/wizards/XLCSettingsWizardPage.java | 3 +- 11 files changed, 622 insertions(+), 25 deletions(-) diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF index 503a5a99acb..81bc979751f 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.xlc.ui; singleton := true -Bundle-Version: 6.1.0.qualifier +Bundle-Version: 6.3.0.qualifier Bundle-Activator: org.eclipse.cdt.managedbuilder.xlc.ui.XLCUIPlugin Bundle-Localization: plugin Require-Bundle: org.eclipse.ui, diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties index 2ca4f71a87b..1fba31745f5 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2007, 2010 IBM Corporation and others. +# Copyright (c) 2007, 2011 IBM Corporation and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at @@ -63,7 +63,6 @@ OptionCategory.Assembler=Assembler Options OptionCategory.General=General OptionCategory.objcc=Object code control - # generic names used by multiple options Option.none = none Option.default = default @@ -201,8 +200,10 @@ Option.macros=Emit macro definitions to preprocessed output (-qshowmacros) Option.macros.all=all (-qshowmacros=all) Option.macros.pre=predefined (-qshowmacros=pre) Option.macros.nopre=no macros (-qshowmacros=nopre) +Option.qstackprotect = Protect against malicious code or programming errors that overwrite or corrupt the stack (-qstackprotect=) Options.timestamps=Suppress insert of implicit timestamps into an object file (-qnotimestamps) + # Optimization options Option.OptLevel = Optimization level Option.Optimize.Optimize = -O @@ -275,6 +276,12 @@ Option.optimization.strict_induction = Strict induction Option.optimization.nostrict_induction = No induction Option.optimization.tocdata = Mark data as local Option.optimization.w = Specify options to pass to specific compiler components (-W) +Option.optimization.qassert = Provides information about the characteristics of the files that can help to fine-tune optimizations (-qassert=) +Option.optimization.qassert.norefalign = norefalign +Option.optimization.qassert.refalign = refalign +Option.optimization.qlibmpi = Assert that functions with MPI names are in fact MPI functions (-qlibmpi) +Option.optimization.qsimd = Let the compiler automatically take advantage of vector instructions for processors that support them (-qsimd) +Option.optimization.qprefetch = Inserts prefetch instructions automatically where there are opportunities to improve code performance. (-qprefetch) # Linker Options Option.Linking.b = Control how shared objects are processed by the editor (-b) @@ -362,6 +369,7 @@ Option.attr.fullattr = Report attributes of all identifiers (-qattr=full) Option.attr.attr = Report attributes of only used identifiers (-qattr) Option.flag = Specify the minimum severity level of the diagnostic messages (-qflag=) Option.format = Warn of possible problems with string input and output format specifications (-qformat=) +Option.qskipsrc = Hide the source statements skipped by the compiler (-qskipsrc = hide) Option.halt = Instruct the compiler to stop after compilation if it encounters errors of specified severity or higher (-qhalt=) Option.halt.information = Information (-qhalt=i) Option.halt.warning = Warning (-qhalt=w) @@ -384,6 +392,7 @@ Option.xref.fullxref = Report all the identifiers in the program (-qxref = full) Option.xref.xref = Report only those identifiers which are used (-qxref) Option.warnfourcharconsts = Enable warning of four-character constants in source Option.report = Produce listing files that show how sections of code have been optimized (-qreport) +Option.qlistfmt = Creates a report to assist with finding optimization opportunities (-qlistfmt) # Error Checking and Debugging Option.g = Generate debugging information (-g) @@ -410,7 +419,7 @@ Option.initauto = Initialize the automatic variables (-qinitauto=) Option.linedebug = Generate line number and source file name info for the debugger (-qlinedebug) Option.maxerr = Halt compilation after this many errors (-qmaxerr=) Option.proto = All functions are prototyped (-qproto) - +Option.qfunctrace = Enable tracing for all functions in your program (-qfunctrace) # Assembler options Option.Xlc.Assembler.Flags=Other assembler flags diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml index 542760a05e3..9bf9b3ed318 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml @@ -1407,12 +1407,13 @@ + + + + + + + + + + ../../pom.xml - 6.1.0-SNAPSHOT + 6.3.0-SNAPSHOT org.eclipse.cdt.managedbuilder.xlc.ui eclipse-plugin diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/Messages.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/Messages.java index 05a8b621a76..aae1668e42f 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/Messages.java +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/Messages.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2008 IBM Corporation and others. + * Copyright (c) 2007, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -18,6 +18,7 @@ public class Messages extends NLS { public static String XLCompiler_v8; public static String XLCompiler_v9; public static String XLCompiler_v10; + public static String XLCompiler_v11; public static String XLCompilerPreferencePage_0; public static String XLCompilerPreferencePage_1; public static String XLCompilerPreferencePage_2; diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/messages.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/messages.properties index af1ec281d67..6d2ff891ede 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/messages.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/messages.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2007, 2010 IBM Corporation and others. +# Copyright (c) 2007, 2011 IBM Corporation and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at @@ -12,6 +12,7 @@ XLCompiler_v8=v8.0 XLCompiler_v9=v9.0 XLCompiler_v10=v10.1 +XLCompiler_v11=v11.1 XLCompilerPreferencePage_0=XL C/C++ Compiler Preferences XLCompilerPreferencePage_1=Compiler Root Path: XLCompilerPreferencePage_2=Compiler Version: diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/preferences/PreferenceConstants.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/preferences/PreferenceConstants.java index 551e32d96f3..a3e977c85d7 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/preferences/PreferenceConstants.java +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/preferences/PreferenceConstants.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. + * Copyright (c) 2007, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -25,13 +25,17 @@ public class PreferenceConstants { public static final String P_XL_COMPILER_VERSION_8 = "v8.0"; //$NON-NLS-1$ public static final String P_XL_COMPILER_VERSION_9 = "v9.0"; //$NON-NLS-1$ public static final String P_XL_COMPILER_VERSION_10 = "v10.1"; //$NON-NLS-1$ + public static final String P_XL_COMPILER_VERSION_11 = "v11.1"; //$NON-NLS-1$ public static final String P_XL_COMPILER_VERSION_8_NAME = Messages.XLCompiler_v8; public static final String P_XL_COMPILER_VERSION_9_NAME = Messages.XLCompiler_v9; public static final String P_XL_COMPILER_VERSION_10_NAME = Messages.XLCompiler_v10; + public static final String P_XL_COMPILER_VERSION_11_NAME = Messages.XLCompiler_v11; public static String getVersion (String label) { - if (label.equalsIgnoreCase(P_XL_COMPILER_VERSION_10_NAME)) + if (label.equalsIgnoreCase(P_XL_COMPILER_VERSION_11_NAME)) + return P_XL_COMPILER_VERSION_11; + else if (label.equalsIgnoreCase(P_XL_COMPILER_VERSION_10_NAME)) return P_XL_COMPILER_VERSION_10; else if (label.equalsIgnoreCase(P_XL_COMPILER_VERSION_9_NAME)) return P_XL_COMPILER_VERSION_9; @@ -40,7 +44,9 @@ public class PreferenceConstants { } public static String getVersionLabel (String version) { - if (version.equalsIgnoreCase(P_XL_COMPILER_VERSION_10)) + if (version.equalsIgnoreCase(P_XL_COMPILER_VERSION_11)) + return P_XL_COMPILER_VERSION_11_NAME; + else if (version.equalsIgnoreCase(P_XL_COMPILER_VERSION_10)) return P_XL_COMPILER_VERSION_10_NAME; else if (version.equalsIgnoreCase(P_XL_COMPILER_VERSION_9)) return P_XL_COMPILER_VERSION_9_NAME; diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/preferences/XLCompilerPreferencePage.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/preferences/XLCompilerPreferencePage.java index 3635b4358de..80d53ec3737 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/preferences/XLCompilerPreferencePage.java +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/preferences/XLCompilerPreferencePage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. + * Copyright (c) 2007, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -81,7 +81,8 @@ public class XLCompilerPreferencePage String[][] versionEntries = {{PreferenceConstants.P_XL_COMPILER_VERSION_8_NAME, PreferenceConstants.P_XL_COMPILER_VERSION_8}, {PreferenceConstants.P_XL_COMPILER_VERSION_9_NAME, PreferenceConstants.P_XL_COMPILER_VERSION_9}, - {PreferenceConstants.P_XL_COMPILER_VERSION_10_NAME, PreferenceConstants.P_XL_COMPILER_VERSION_10}}; + {PreferenceConstants.P_XL_COMPILER_VERSION_10_NAME, PreferenceConstants.P_XL_COMPILER_VERSION_10}, + {PreferenceConstants.P_XL_COMPILER_VERSION_11_NAME, PreferenceConstants.P_XL_COMPILER_VERSION_11}}; addField(new ComboFieldEditor(PreferenceConstants.P_XLC_COMPILER_VERSION, Messages.XLCompilerPreferencePage_2, versionEntries, getFieldEditorParent())); diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/XLCompilerPropertyPage.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/XLCompilerPropertyPage.java index a4fd1df292d..66d5b2365b4 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/XLCompilerPropertyPage.java +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/XLCompilerPropertyPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 IBM Corporation and others. + * Copyright (c) 2007, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -103,7 +103,7 @@ public class XLCompilerPropertyPage extends FieldEditorPreferencePage implements IProject project = ((IResource) (getElement().getAdapter(IResource.class))).getProject(); String[] versionEntries = { PreferenceConstants.P_XL_COMPILER_VERSION_8_NAME, - PreferenceConstants.P_XL_COMPILER_VERSION_9_NAME, PreferenceConstants.P_XL_COMPILER_VERSION_10_NAME }; + PreferenceConstants.P_XL_COMPILER_VERSION_9_NAME, PreferenceConstants.P_XL_COMPILER_VERSION_10_NAME, PreferenceConstants.P_XL_COMPILER_VERSION_11_NAME }; versionParent = getFieldEditorParent(); diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/applicability.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/applicability.properties index 3f069a71f03..f3261cedad9 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/applicability.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/applicability.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2007, 2009 IBM Corporation and others. +# Copyright (c) 2007, 2011 IBM Corporation and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at @@ -9,12 +9,18 @@ # IBM Corporation - initial API and implementation ############################################################################### # START NON-TRANSLATABLE -xlc.applicability.version.order=v8.0,v9.0,v10.1 +xlc.applicability.version.order=v8.0,v9.0,v10.1,v11.1 xlc.c.compiler.option.optimization.arch=v8.0 -xlc.c.compiler.option.optimization.arch.9.0=v9.0+ +xlc.c.compiler.option.optimization.arch.9.0=v9.0,v10.1 +xlc.c.compiler.option.optimization.arch.11.1=v11.1+ +xlc.c.compiler.option.optimization.qassert=v11.1+ xlc.c.compiler.option.optimization.tune=v8.0 -xlc.c.compiler.option.optimization.tune.9.0=v9.0+ +xlc.c.compiler.option.optimization.tune.9.0=v9.0,v10.1 +xlc.c.compiler.option.optimization.tune.11.1=v11.1+ +xlc.c.compiler.option.optimization.qinline=v11.1+ +xlc.c.compiler.option.optimization.qsimd=v11.1+ +xlc.c.compiler.option.optimization.qprefetch=v11.1+ xlc.c.compiler.option.ifp.dfp=v9.0+ xlc.c.compiler.option.preprocessor.PreprocessRemoveComments=v9.0+ xlc.c.compiler.option.ecd.optdebug=v9.0+ @@ -29,4 +35,9 @@ xlc.c.compiler.option.cc.tls=v8.0,v9.0 xlc.c.compiler.option.cc.tls.v10=v10.1 xlc.c.compiler.option.output.macros=v10.1 xlc.c.compiler.option.output.timestamps=v10.1 +xlc.c.compiler.option.output.qstackprotect=v11.1+ +xlc.c.compiler.option.output.enablevmx=v8.0,v9.0,v10.1,v11.1 +xlc.c.compiler.option.qfunctrace=v11.1+ + + # END NON-TRANSLATABLE diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/wizards/XLCSettingsWizardPage.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/wizards/XLCSettingsWizardPage.java index cfc4f7d06a0..9692b450bec 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/wizards/XLCSettingsWizardPage.java +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/wizards/XLCSettingsWizardPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation and others. + * Copyright (c) 2007, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -178,6 +178,7 @@ public class XLCSettingsWizardPage extends MBSCustomPage { fVersionCombo.add(PreferenceConstants.P_XL_COMPILER_VERSION_8_NAME); fVersionCombo.add(PreferenceConstants.P_XL_COMPILER_VERSION_9_NAME); fVersionCombo.add(PreferenceConstants.P_XL_COMPILER_VERSION_10_NAME); + fVersionCombo.add(PreferenceConstants.P_XL_COMPILER_VERSION_11_NAME); // set the default based on the workbench preference String compilerVersion = prefStore.getString(PreferenceConstants.P_XLC_COMPILER_VERSION); From 4946010ddd798de8c2f899c0e2d1f197d2689105 Mon Sep 17 00:00:00 2001 From: Michael Lindo Date: Wed, 29 Jun 2011 15:01:21 -0400 Subject: [PATCH 27/52] Bug 350501 - add support in managed build projects for xlC v11 compiler options Change-Id: I2281c37fc120ca788641bd7f4caae627927900cd --- xlc/org.eclipse.cdt.xlc.feature/feature.xml | 136 ++++++++++---------- xlc/org.eclipse.cdt.xlc.feature/pom.xml | 2 +- 2 files changed, 69 insertions(+), 69 deletions(-) diff --git a/xlc/org.eclipse.cdt.xlc.feature/feature.xml b/xlc/org.eclipse.cdt.xlc.feature/feature.xml index 15824017b1a..d3d0a78394a 100644 --- a/xlc/org.eclipse.cdt.xlc.feature/feature.xml +++ b/xlc/org.eclipse.cdt.xlc.feature/feature.xml @@ -1,68 +1,68 @@ - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - - - - - - - - - - - + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + + + diff --git a/xlc/org.eclipse.cdt.xlc.feature/pom.xml b/xlc/org.eclipse.cdt.xlc.feature/pom.xml index d675c22fa20..eaacb699bdc 100644 --- a/xlc/org.eclipse.cdt.xlc.feature/pom.xml +++ b/xlc/org.eclipse.cdt.xlc.feature/pom.xml @@ -11,7 +11,7 @@ ../../pom.xml - 6.1.0-SNAPSHOT + 6.3.0-SNAPSHOT org.eclipse.cdt.xlc.feature eclipse-feature From 5854ece2d45bb9698b75071c78f0a1fe55c628ca Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Wed, 29 Jun 2011 20:24:16 -0700 Subject: [PATCH 28/52] Cosmetics. --- .../callhierarchy/CHDropTargetListener.java | 13 +++------ .../internal/ui/callhierarchy/CHQueries.java | 6 ++--- .../ui/callhierarchy/CallHierarchyUI.java | 27 +++++++++---------- .../OpenCallHierarchyAction.java | 4 +-- .../OpenElementInCallHierarchyAction.java | 10 +++---- 5 files changed, 24 insertions(+), 36 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHDropTargetListener.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHDropTargetListener.java index 7e5eab7e017..652484b2681 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHDropTargetListener.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHDropTargetListener.java @@ -6,9 +6,8 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ - package org.eclipse.cdt.internal.ui.callhierarchy; import java.util.Iterator; @@ -24,9 +23,7 @@ import org.eclipse.swt.widgets.Display; import org.eclipse.cdt.core.model.ICElement; - public class CHDropTargetListener implements DropTargetListener { - private CHViewPart fCallHierarchy; private ICElement fInput; private boolean fEnabled= true; @@ -56,7 +53,7 @@ public class CHDropTargetListener implements DropTargetListener { private ICElement checkLocalSelection() { ISelection sel= LocalSelectionTransfer.getTransfer().getSelection(); if (sel instanceof IStructuredSelection) { - for (Iterator iter = ((IStructuredSelection)sel).iterator(); iter.hasNext();) { + for (Iterator iter = ((IStructuredSelection) sel).iterator(); iter.hasNext();) { Object element = iter.next(); if (element instanceof ICElement) { return (ICElement) element; @@ -85,8 +82,7 @@ public class CHDropTargetListener implements DropTargetListener { public void drop(DropTargetEvent event) { if (fInput == null) { Display.getCurrent().beep(); - } - else { + } else { fCallHierarchy.setInput(fInput); } } @@ -97,8 +93,7 @@ public class CHDropTargetListener implements DropTargetListener { private void checkOperation(DropTargetEvent event) { if (fEnabled && (event.operations & DND.DROP_COPY) != 0) { event.detail= DND.DROP_COPY; - } - else { + } else { event.detail= DND.DROP_NONE; } } diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHQueries.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHQueries.java index d4565918266..a58bd7afecd 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHQueries.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHQueries.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ package org.eclipse.cdt.internal.ui.callhierarchy; @@ -101,8 +101,8 @@ public class CHQueries { } - private static void findCalledBy2(IIndex index, IBinding callee, boolean includeOrdinaryCalls, ICProject project, CalledByResult result) - throws CoreException { + private static void findCalledBy2(IIndex index, IBinding callee, boolean includeOrdinaryCalls, + ICProject project, CalledByResult result) throws CoreException { IIndexName[] names= index.findNames(callee, IIndex.FIND_REFERENCES | IIndex.SEARCH_ACROSS_LANGUAGE_BOUNDARIES); for (IIndexName rname : names) { if (includeOrdinaryCalls || rname.couldBePolymorphicMethodCall()) { diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java index 59e228e1c20..643cbe51250 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ package org.eclipse.cdt.internal.ui.callhierarchy; @@ -136,8 +136,7 @@ public class CallHierarchyUI { CHMessages.CallHierarchyUI_openFailureMessage); } return Status.OK_STATUS; - } - catch (CoreException e) { + } catch (CoreException e) { return e.getStatus(); } } @@ -151,7 +150,8 @@ public class CallHierarchyUI { private static ICElement[] findDefinitions(ICProject project, IEditorInput editorInput, ITextSelection sel) throws CoreException { try { - IIndex index= CCorePlugin.getIndexManager().getIndex(project, IIndexManager.ADD_DEPENDENCIES | IIndexManager.ADD_DEPENDENT); + IIndex index= CCorePlugin.getIndexManager().getIndex(project, + IIndexManager.ADD_DEPENDENCIES | IIndexManager.ADD_DEPENDENT); index.acquireReadLock(); try { @@ -190,8 +190,7 @@ public class CallHierarchyUI { return NO_ELEMENTS; } } - } - finally { + } finally { index.releaseReadLock(); } } catch (CoreException e) { @@ -226,7 +225,8 @@ public class CallHierarchyUI { final ITranslationUnit tu= CModelUtil.getTranslationUnit(input); if (tu != null) { final ICProject project= tu.getCProject(); - final IIndex index= CCorePlugin.getIndexManager().getIndex(project, IIndexManager.ADD_DEPENDENCIES | IIndexManager.ADD_DEPENDENT); + final IIndex index= CCorePlugin.getIndexManager().getIndex(project, + IIndexManager.ADD_DEPENDENCIES | IIndexManager.ADD_DEPENDENT); index.acquireReadLock(); try { @@ -242,21 +242,18 @@ public class CallHierarchyUI { IIndexName name= IndexUI.elementToName(index, input); if (name != null) { ICElementHandle handle= IndexUI.getCElementForName(tu, index, name); - return new ICElement[] {handle}; + return new ICElement[] { handle }; } - } - finally { + } finally { index.releaseReadLock(); } } - } - catch (CoreException e) { + } catch (CoreException e) { CUIPlugin.log(e); - } - catch (InterruptedException e) { + } catch (InterruptedException e) { Thread.currentThread().interrupt(); } - return new ICElement[] {input}; + return new ICElement[] { input }; } private static boolean needToFindDefinition(ICElement elem) { diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java index b6f5bec8c56..acfe4849050 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java @@ -27,7 +27,6 @@ import org.eclipse.cdt.ui.actions.SelectionDispatchAction; public class OpenCallHierarchyAction extends SelectionDispatchAction { - private ITextEditor fEditor; public OpenCallHierarchyAction(IWorkbenchSite site) { @@ -73,8 +72,7 @@ public class OpenCallHierarchyAction extends SelectionDispatchAction { ICElement elem= (ICElement) getAdapter(selectedObject, ICElement.class); if (elem != null) { setEnabled(isValidElement(elem)); - } - else { + } else { setEnabled(false); } } diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/OpenElementInCallHierarchyAction.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/OpenElementInCallHierarchyAction.java index 5fa962e003b..5fc584ed158 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/OpenElementInCallHierarchyAction.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/OpenElementInCallHierarchyAction.java @@ -6,9 +6,8 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ - package org.eclipse.cdt.internal.ui.callhierarchy; import org.eclipse.jface.action.IAction; @@ -31,7 +30,6 @@ import org.eclipse.cdt.core.model.ICElement; import org.eclipse.cdt.internal.ui.browser.opentype.ElementSelectionDialog; public class OpenElementInCallHierarchyAction implements IWorkbenchWindowActionDelegate { - private static final int[] VISIBLE_TYPES = { ICElement.C_FUNCTION, ICElement.C_METHOD, ICElement.C_VARIABLE, ICElement.C_ENUMERATOR, ICElement.C_FUNCTION_DECLARATION, ICElement.C_METHOD_DECLARATION, ICElement.C_VARIABLE_DECLARATION }; @@ -59,10 +57,10 @@ public class OpenElementInCallHierarchyAction implements IWorkbenchWindowActionD } if (elements == null || elements.length == 0) { String title = CHMessages.OpenElementInCallHierarchyAction_errorDlgTitle; - String message = NLS.bind(CHMessages.OpenElementInCallHierarchyAction_errorNoDefinition, info.getQualifiedTypeName().toString()); + String message = NLS.bind(CHMessages.OpenElementInCallHierarchyAction_errorNoDefinition, + info.getQualifiedTypeName().toString()); MessageDialog.openError(getShell(), title, message); - } - else { + } else { CallHierarchyUI.open(fWorkbenchWindow, elements[0]); } } From 1e2e41d3029d8f5f8901ff123694d320c893f720 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Wed, 29 Jun 2011 20:51:31 -0700 Subject: [PATCH 29/52] Cosmetics. --- .../ui/callhierarchy/CallHierarchyUI.java | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java index 643cbe51250..e7d35434566 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java @@ -7,7 +7,7 @@ * * Contributors: * Markus Schorn - initial API and implementation - *******************************************************************************/ + *******************************************************************************/ package org.eclipse.cdt.internal.ui.callhierarchy; import org.eclipse.core.runtime.CoreException; @@ -54,7 +54,7 @@ public class CallHierarchyUI { public static void setIsJUnitTest(boolean val) { sIsJUnitTest= val; } - + public static void open(final IWorkbenchWindow window, final ICElement input) { if (input != null) { final Display display= Display.getCurrent(); @@ -68,7 +68,7 @@ public class CallHierarchyUI { public void run() { internalOpen(window, elems); }}); - } + } return Status.OK_STATUS; } }; @@ -84,9 +84,9 @@ public class CallHierarchyUI { result.setInput(input); return result; } catch (CoreException e) { - ExceptionHandler.handle(e, window.getShell(), CHMessages.OpenCallHierarchyAction_label, null); + ExceptionHandler.handle(e, window.getShell(), CHMessages.OpenCallHierarchyAction_label, null); } - return null; + return null; } private static CHViewPart internalOpen(IWorkbenchWindow window, ICElement[] input) { @@ -108,7 +108,7 @@ public class CallHierarchyUI { } if (elem != null) { return internalOpen(window, elem); - } + } return null; } @@ -132,7 +132,7 @@ public class CallHierarchyUI { internalOpen(editor.getSite().getWorkbenchWindow(), elems); }}); } else { - StatusLineHandler.showStatusLineMessage(editor.getSite(), + StatusLineHandler.showStatusLineMessage(editor.getSite(), CHMessages.CallHierarchyUI_openFailureMessage); } return Status.OK_STATUS; @@ -146,8 +146,8 @@ public class CallHierarchyUI { } } } - - private static ICElement[] findDefinitions(ICProject project, IEditorInput editorInput, ITextSelection sel) + + private static ICElement[] findDefinitions(ICProject project, IEditorInput editorInput, ITextSelection sel) throws CoreException { try { IIndex index= CCorePlugin.getIndexManager().getIndex(project, @@ -162,28 +162,28 @@ public class CallHierarchyUI { if (name.isDefinition()) { ICElement elem= IndexUI.getCElementForName(project, index, name); if (elem != null) { - return new ICElement[]{elem}; + return new ICElement[] { elem }; } return NO_ELEMENTS; - } - + } + ICElement[] elems= IndexUI.findAllDefinitions(index, binding); - if (elems.length != 0) + if (elems.length != 0) return elems; - + if (name.isDeclaration()) { ICElementHandle elem= IndexUI.getCElementForName(project, index, name); if (elem != null) { - return new ICElement[] {elem}; + return new ICElement[] { elem }; } return NO_ELEMENTS; } ICElementHandle elem= IndexUI.findAnyDeclaration(index, project, binding); if (elem != null) { - return new ICElement[]{elem}; + return new ICElement[] { elem }; } - + if (binding instanceof ICPPSpecialization) { return findSpecializationDeclaration(binding, project, index); } @@ -209,7 +209,7 @@ public class CallHierarchyUI { if (elems.length == 0) { ICElementHandle elem= IndexUI.findAnyDeclaration(index, project, original); if (elem != null) { - elems= new ICElementHandle[]{elem}; + elems= new ICElementHandle[] { elem }; } } if (elems.length > 0) { From 6eff5311d773391e672943e636335dc091101be0 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Wed, 29 Jun 2011 14:28:57 -0400 Subject: [PATCH 30/52] More tests for the Maven build. --- .../pom.xml | 35 +++++++++++++++++++ .../pom.xml | 35 +++++++++++++++++++ codan/org.eclipse.cdt.codan.core.test/pom.xml | 35 +++++++++++++++++++ debug/org.eclipse.cdt.debug.ui.tests/pom.xml | 35 +++++++++++++++++++ .../pom.xml | 35 +++++++++++++++++++ pom.xml | 11 +++++- .../pom.xml | 35 +++++++++++++++++++ .../META-INF/MANIFEST.MF | 2 +- .../pom.xml | 35 +++++++++++++++++++ 9 files changed, 256 insertions(+), 2 deletions(-) create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/pom.xml create mode 100644 build/org.eclipse.cdt.managedbuilder.ui.tests/pom.xml create mode 100644 codan/org.eclipse.cdt.codan.core.test/pom.xml create mode 100644 debug/org.eclipse.cdt.debug.ui.tests/pom.xml create mode 100644 lrparser/org.eclipse.cdt.core.lrparser.tests/pom.xml create mode 100644 upc/org.eclipse.cdt.core.parser.upc.tests/pom.xml create mode 100644 xlc/org.eclipse.cdt.core.lrparser.xlc.tests/pom.xml diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/pom.xml b/build/org.eclipse.cdt.managedbuilder.core.tests/pom.xml new file mode 100644 index 00000000000..b3b9f3c693a --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 8.0.0-SNAPSHOT + org.eclipse.cdt.managedbuilder.core.tests + eclipse-test-plugin + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + false + -Xms256m -Xmx512m -XX:MaxPermSize=256M + + **/AllManagedBuildTests.* + + true + + + + + diff --git a/build/org.eclipse.cdt.managedbuilder.ui.tests/pom.xml b/build/org.eclipse.cdt.managedbuilder.ui.tests/pom.xml new file mode 100644 index 00000000000..f8f3e2a8d4e --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.ui.tests/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 8.0.0-SNAPSHOT + org.eclipse.cdt.managedbuilder.ui.tests + eclipse-test-plugin + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + true + -Xms256m -Xmx512m -XX:MaxPermSize=256M + + **/AllManagedBuildUITests.* + + true + + + + + diff --git a/codan/org.eclipse.cdt.codan.core.test/pom.xml b/codan/org.eclipse.cdt.codan.core.test/pom.xml new file mode 100644 index 00000000000..59d2ff92e62 --- /dev/null +++ b/codan/org.eclipse.cdt.codan.core.test/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.codan.core.tests + eclipse-test-plugin + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + false + -Xms256m -Xmx512m -XX:MaxPermSize=256M + + **/AutomatedIntegrationSuite.* + + true + + + + + diff --git a/debug/org.eclipse.cdt.debug.ui.tests/pom.xml b/debug/org.eclipse.cdt.debug.ui.tests/pom.xml new file mode 100644 index 00000000000..a364aebe8d1 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.ui.tests/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 6.0.0-SNAPSHOT + org.eclipse.cdt.debug.ui.tests + eclipse-test-plugin + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + true + -Xms256m -Xmx512m -XX:MaxPermSize=256M + + **/AllDebugTests.* + + true + + + + + diff --git a/lrparser/org.eclipse.cdt.core.lrparser.tests/pom.xml b/lrparser/org.eclipse.cdt.core.lrparser.tests/pom.xml new file mode 100644 index 00000000000..d8e143e444d --- /dev/null +++ b/lrparser/org.eclipse.cdt.core.lrparser.tests/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.lrparser.tests + eclipse-test-plugin + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + false + -Xms256m -Xmx512m -XX:MaxPermSize=256M + + **/LRParserTestSuite.* + + true + + + + + diff --git a/pom.xml b/pom.xml index 79dbe5ca2fd..337b6e2c5e0 100644 --- a/pom.xml +++ b/pom.xml @@ -149,7 +149,16 @@ core/org.eclipse.cdt.core.tests core/org.eclipse.cdt.ui.tests - + build/org.eclipse.cdt.managedbuilder.core.tests + build/org.eclipse.cdt.managedbuilder.ui.tests + lrparser/org.eclipse.cdt.core.lrparser.tests + upc/org.eclipse.cdt.core.parser.upc.tests + xlc/org.eclipse.cdt.core.lrparser.xlc.tests + codan/org.eclipse.cdt.codan.core.test + + releng/org.eclipse.cdt.repo diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/pom.xml b/upc/org.eclipse.cdt.core.parser.upc.tests/pom.xml new file mode 100644 index 00000000000..277f442f9a7 --- /dev/null +++ b/upc/org.eclipse.cdt.core.parser.upc.tests/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 5.1.0-SNAPSHOT + org.eclipse.cdt.core.parser.upc.tests + eclipse-test-plugin + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + false + -Xms256m -Xmx512m -XX:MaxPermSize=256M + + **/UPCParserTestSuite.* + + true + + + + + diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/META-INF/MANIFEST.MF b/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/META-INF/MANIFEST.MF index 4797732f919..26486547076 100644 --- a/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/META-INF/MANIFEST.MF +++ b/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Tests Bundle-SymbolicName: org.eclipse.cdt.core.lrparser.xlc.tests -Bundle-Version: 1.0.0 +Bundle-Version: 1.0.0.qualifier Bundle-RequiredExecutionEnvironment: J2SE-1.5 Require-Bundle: org.junit, org.eclipse.cdt.core.lrparser;bundle-version="5.1.0", diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/pom.xml b/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/pom.xml new file mode 100644 index 00000000000..9a4182761ed --- /dev/null +++ b/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + org.eclipse.cdt + cdt-parent + 8.0.0-SNAPSHOT + ../../pom.xml + + + 1.0.0-SNAPSHOT + org.eclipse.cdt.core.lrparser.xlc.tests + eclipse-test-plugin + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + false + -Xms256m -Xmx512m -XX:MaxPermSize=256M + + **/XlcTestSuite.* + + true + + + + + From a9f41ac547a5e95b79a324273f269d268de508ef Mon Sep 17 00:00:00 2001 From: Anton Leherbauer Date: Thu, 30 Jun 2011 10:01:54 +0200 Subject: [PATCH 31/52] Bug 348569 - Ever growing resource tree with cyclic symbolic links --- .../eclipse/cdt/core/model/tests/Bug311189.java | 7 ++++--- .../core/settings/model/ResourceChangeHandler.java | 14 ++++++++++---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/Bug311189.java b/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/Bug311189.java index ac957652365..3949ba43306 100644 --- a/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/Bug311189.java +++ b/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/Bug311189.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010 Broadcom Corporation and others. + * Copyright (c) 2010, 2011 Broadcom Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +7,7 @@ * * Contributors: * James Blackburn (Broadcom Corp) - initial API and implementation + * Wind River Systems - Bug 348569 *******************************************************************************/ package org.eclipse.cdt.core.model.tests; @@ -57,7 +58,7 @@ public class Bug311189 extends BaseTestCase { final IPathEntry sourceEntry = new SourceEntry(srcFolder.getFullPath(), new IPath[0]); // create a source folder and set it as a source entry - srcFolder.create(true, false, null); + srcFolder.create(true, true, null); CoreModel.setRawPathEntries(CoreModel.getDefault().create(project), new IPathEntry[] {sourceEntry}, null); IPathEntry[] rawEntries = CoreModel.getPathEntryStore(project).getRawPathEntries(); assertTrue ("Path entry unset!", Arrays.asList(rawEntries).contains(sourceEntry)); @@ -69,7 +70,7 @@ public class Bug311189 extends BaseTestCase { Job.getJobManager().beginRule(project, null); // Delete the source folder, and re-recreate it srcFolder.delete(true, null); - srcFolder.create(true, false, null); + srcFolder.create(true, true, null); } finally { Job.getJobManager().endRule(project); } diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/ResourceChangeHandler.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/ResourceChangeHandler.java index fc0841e672e..63684384157 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/ResourceChangeHandler.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/ResourceChangeHandler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 Intel Corporation and others. + * Copyright (c) 2007, 2011 Intel Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,9 +8,11 @@ * Contributors: * Intel Corporation - Initial API and implementation * Broadcom Corporation - Bug 311189 and clean-up + * Wind River Systems - Bug 348569 *******************************************************************************/ package org.eclipse.cdt.internal.core.settings.model; +import java.net.URI; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; @@ -30,6 +32,7 @@ import org.eclipse.cdt.core.settings.model.ICSourceEntry; import org.eclipse.cdt.core.settings.model.WriteAccessException; import org.eclipse.cdt.core.settings.model.util.CDataUtil; import org.eclipse.cdt.core.settings.model.util.ResourceChangeHandlerBase; +import org.eclipse.core.filesystem.EFS; import org.eclipse.core.resources.IFolder; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; @@ -204,11 +207,14 @@ public class ResourceChangeHandler extends ResourceChangeHandlerBase implements // Bug 311189 -- if the resource still exists now, don't treat as a remove! if (to == null) { - // Workaround for platform Bug 317783 - if (from.getWorkspace().validateFiltered(from).isOK()) - from.refreshLocal(IResource.DEPTH_ZERO, null); if (from.exists()) continue; + // Workaround for platform Bug 317783 + if (from.getWorkspace().validateFiltered(from).isOK()) { + URI uri = from.getLocationURI(); + if (uri != null && EFS.getStore(uri).fetchInfo().exists()) + continue; + } } ICProjectDescription prjDesc = getProjectDescription(from); From 3d7537fca662c59b029058ce402b394871b5ca84 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Wed, 29 Jun 2011 21:19:53 -0700 Subject: [PATCH 32/52] Cosmetics. --- .../ui/callhierarchy/CHContentProvider.java | 20 +++++++------------ .../internal/ui/callhierarchy/CHQueries.java | 7 +++---- .../ui/callhierarchy/CallHierarchyUI.java | 2 +- 3 files changed, 11 insertions(+), 18 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHContentProvider.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHContentProvider.java index ddbc2242bd7..ed0d6811f88 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHContentProvider.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHContentProvider.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ package org.eclipse.cdt.internal.ui.callhierarchy; @@ -42,7 +42,6 @@ import org.eclipse.cdt.internal.ui.viewsupport.WorkingSetFilterUI; * This is the content provider for the call hierarchy. */ public class CHContentProvider extends AsyncTreeContentProvider { - private static final IProgressMonitor NPM = new NullProgressMonitor(); private boolean fComputeReferencedBy = true; private WorkingSetFilterUI fFilter; @@ -79,13 +78,12 @@ public class CHContentProvider extends AsyncTreeContentProvider { if (node.isInitializer()) { return NO_CHILDREN; } - } - else if (node.isVariableOrEnumerator() || node.isMacro()) { + } else if (node.isVariableOrEnumerator() || node.isMacro()) { return NO_CHILDREN; } } - // allow for async computation + // Allow for async computation return null; } @@ -122,8 +120,7 @@ public class CHContentProvider extends AsyncTreeContentProvider { fView.reportNotIndexed(input); } }); - } - else { + } else { element= IndexUI.attemptConvertionToHandle(index, input); final ICElement finalElement= element; getDisplay().asyncExec(new Runnable() { @@ -146,8 +143,7 @@ public class CHContentProvider extends AsyncTreeContentProvider { } } return new Object[] { new CHNode(null, tu, 0, element, -1) }; - } - finally { + } finally { index.releaseReadLock(); } } @@ -158,8 +154,7 @@ public class CHContentProvider extends AsyncTreeContentProvider { index.acquireReadLock(); try { return CHQueries.findCalledBy(this, parent, index, NPM); - } - finally { + } finally { index.releaseReadLock(); } } @@ -170,8 +165,7 @@ public class CHContentProvider extends AsyncTreeContentProvider { index.acquireReadLock(); try { return CHQueries.findCalls(this, parent, index, NPM); - } - finally { + } finally { index.releaseReadLock(); } } diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHQueries.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHQueries.java index a58bd7afecd..07cf22d12aa 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHQueries.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHQueries.java @@ -35,7 +35,6 @@ import org.eclipse.cdt.internal.core.model.ext.ICElementHandle; import org.eclipse.cdt.internal.ui.viewsupport.IndexUI; - /** * Access to high level queries in the index. * @since 4.0 @@ -100,7 +99,6 @@ public class CHQueries { } } - private static void findCalledBy2(IIndex index, IBinding callee, boolean includeOrdinaryCalls, ICProject project, CalledByResult result) throws CoreException { IIndexName[] names= index.findNames(callee, IIndex.FIND_REFERENCES | IIndex.SEARCH_ACROSS_LANGUAGE_BOUNDARIES); @@ -130,7 +128,7 @@ public class CHQueries { for (IIndexName name : refs) { IBinding binding= index.findBinding(name); if (CallHierarchyUI.isRelevantForCallHierarchy(binding)) { - for(;;) { + while (true) { ICElement[] defs= null; if (binding instanceof ICPPMethod) { defs = findOverriders(index, (ICPPMethod) binding); @@ -154,7 +152,8 @@ public class CHQueries { } /** - * Searches for overriders of method and converts them to ICElement, returns null, if there are none. + * Searches for overriders of method and converts them to ICElement, returns null, + * if there are none. */ static ICElement[] findOverriders(IIndex index, ICPPMethod binding) throws CoreException { IBinding[] virtualOverriders= ClassTypeHelper.findOverriders(index, binding); diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java index e7d35434566..43298556bea 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CallHierarchyUI.java @@ -80,7 +80,7 @@ public class CallHierarchyUI { private static CHViewPart internalOpen(IWorkbenchWindow window, ICElement input) { IWorkbenchPage page= window.getActivePage(); try { - CHViewPart result= (CHViewPart)page.showView(CUIPlugin.ID_CALL_HIERARCHY); + CHViewPart result= (CHViewPart) page.showView(CUIPlugin.ID_CALL_HIERARCHY); result.setInput(input); return result; } catch (CoreException e) { From 404b0ce953e03de09b2789220cbc485f58309a00 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 30 Jun 2011 12:46:40 -0700 Subject: [PATCH 33/52] Cosmetics. --- .../internal/ui/search/PDOMSearchQuery.java | 69 +++++++++---------- 1 file changed, 34 insertions(+), 35 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java index 796d54d4812..52b26bcd1db 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java @@ -73,22 +73,21 @@ import org.eclipse.cdt.internal.ui.util.Messages; import org.eclipse.cdt.internal.ui.viewsupport.CElementLabels; import org.eclipse.cdt.internal.ui.viewsupport.IndexUI; - public abstract class PDOMSearchQuery implements ISearchQuery { public static final int FIND_DECLARATIONS = IIndex.FIND_DECLARATIONS; public static final int FIND_DEFINITIONS = IIndex.FIND_DEFINITIONS; public static final int FIND_REFERENCES = IIndex.FIND_REFERENCES; public static final int FIND_DECLARATIONS_DEFINITIONS = FIND_DECLARATIONS | FIND_DEFINITIONS; public static final int FIND_ALL_OCCURRENCES = FIND_DECLARATIONS | FIND_DEFINITIONS | FIND_REFERENCES; - - protected static final long LABEL_FLAGS= - CElementLabels.M_PARAMETER_TYPES | + + protected static final long LABEL_FLAGS= + CElementLabels.M_PARAMETER_TYPES | CElementLabels.ALL_FULLY_QUALIFIED | CElementLabels.TEMPLATE_ARGUMENTS; protected PDOMSearchResult result; protected int flags; - + protected ICElement[] scope; protected ICProject[] projects; private Set fullPathFilter; @@ -97,19 +96,17 @@ public abstract class PDOMSearchQuery implements ISearchQuery { result = new PDOMSearchResult(this); this.flags = flags; this.scope = scope; - + try { if (scope == null) { // All CDT projects in workspace ICProject[] allProjects = CoreModel.getDefault().getCModel().getCProjects(); - // Filter out closed projects for this case for (int i = 0; i < allProjects.length; i++) { - if (!allProjects[i].getProject().isOpen()) { + if (!allProjects[i].getProject().isOpen()) { allProjects[i] = null; } } - projects = (ICProject[]) ArrayUtil.removeNulls(ICProject.class, allProjects); } else { Map projectMap = new HashMap(); @@ -126,7 +123,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery { projectMap.put(project.getElementName(), project); } } - + projects = projectMap.values().toArray(new ICProject[projectMap.size()]); if (needFilter) { fullPathFilter= pathFilter; @@ -136,7 +133,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery { CUIPlugin.log(e); } } - + protected String labelForBinding(final IIndex index, IBinding binding, String defaultLabel) throws CoreException { IIndexName[] names= index.findNames(binding, IIndex.FIND_DECLARATIONS_DEFINITIONS); @@ -151,12 +148,13 @@ public abstract class PDOMSearchQuery implements ISearchQuery { public String getLabel() { String type; - if ((flags & FIND_REFERENCES) != 0) - type = CSearchMessages.PDOMSearchQuery_refs_label; - else if ((flags & FIND_DECLARATIONS) != 0) - type = CSearchMessages.PDOMSearchQuery_decls_label; - else - type = CSearchMessages.PDOMSearchQuery_defs_label; + if ((flags & FIND_REFERENCES) != 0) { + type = CSearchMessages.PDOMSearchQuery_refs_label; + } else if ((flags & FIND_DECLARATIONS) != 0) { + type = CSearchMessages.PDOMSearchQuery_decls_label; + } else { + type = CSearchMessages.PDOMSearchQuery_defs_label; + } return type; } @@ -188,11 +186,13 @@ public abstract class PDOMSearchQuery implements ISearchQuery { break; } - if (scope != null) - label= NLS.bind(CSearchMessages.PDOMSearchPatternQuery_PatternQuery_labelPatternInScope, label, scope); + if (scope != null) { + label= NLS.bind(CSearchMessages.PDOMSearchPatternQuery_PatternQuery_labelPatternInScope, + label, scope); + } - String countLabel = Messages.format(CSearchMessages.CSearchResultCollector_matches, new Integer( - matchCount)); + String countLabel = Messages.format(CSearchMessages.CSearchResultCollector_matches, + new Integer(matchCount)); return label + " " + countLabel; //$NON-NLS-1$ } @@ -246,7 +246,6 @@ public abstract class PDOMSearchQuery implements ISearchQuery { isWriteAccess)); } } - } } @@ -301,7 +300,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery { matches = convertMatchesPositions(file, matches); // scan dirty editor and group matches by line elements ITextEditor textEditor = pathsDirtyEditors.get(absolutePath); - IEditorInput input = textEditor.getEditorInput(); + IEditorInput input = textEditor.getEditorInput(); IDocument document = textEditor.getDocumentProvider().getDocument(input); Match[] matchesArray = matches.toArray(new Match[matches.size()]); lineElements = LineSearchElement.createElements(file.getLocation(), matchesArray, document); @@ -310,7 +309,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery { Match[] matchesArray = matches.toArray(new Match[matches.size()]); lineElements = LineSearchElement.createElements(file.getLocation(), matchesArray); } - // create real PDOMSearchMatch with corresponding line elements + // create real PDOMSearchMatch with corresponding line elements for (LineSearchElement searchElement : lineElements) { for (Match lineMatch : searchElement.getMatches()) { int offset = lineMatch.getOffset(); @@ -327,20 +326,20 @@ public abstract class PDOMSearchQuery implements ISearchQuery { protected void createMatches(IIndex index, IBinding binding) throws CoreException { createMatches(index, new IBinding[] { binding }); } - + protected void createMatches(IIndex index, IBinding[] bindings) throws CoreException { if (bindings == null) return; List names= new ArrayList(); List polymorphicNames= null; HashSet handled= new HashSet(); - + for (IBinding binding : bindings) { if (binding != null && handled.add(binding)) { createMatches1(index, binding, names); } } - + if ((flags & FIND_REFERENCES) != 0) { for (IBinding binding : bindings) { if (binding != null) { @@ -380,21 +379,21 @@ public abstract class PDOMSearchQuery implements ISearchQuery { } else { for (IIndexName name : bindingNames) { String fullPath= name.getFile().getLocation().getFullPath(); - if (fullPath != null && accept(fullPath)) + if (fullPath != null && accept(fullPath)) names.add(name); } } } private boolean accept(String fullPath) { - for(;;) { + while (true) { if (fullPathFilter.contains(fullPath)) return true; int idx= fullPath.lastIndexOf('/'); if (idx < 0) return false; fullPath= fullPath.substring(0, idx); - } + } } protected void createLocalMatches(IASTTranslationUnit ast, IBinding binding) throws CoreException { @@ -404,7 +403,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery { names.addAll(Arrays.asList(ast.getDefinitionsInAST(binding))); names.addAll(Arrays.asList(ast.getReferences(binding))); // Collect local matches from AST - IIndexFileLocation fileLocation = null; + IIndexFileLocation fileLocation = null; Set localMatches = new HashSet(); for (IASTName name : names) { if (((flags & FIND_DECLARATIONS) != 0 && name.isDeclaration()) || @@ -461,7 +460,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery { } else { lineElements = LineSearchElement.createElements(fileLocation, matchesArray); } - // Create real PDOMSearchMatch with corresponding line elements + // Create real PDOMSearchMatch with corresponding line elements for (LineSearchElement searchElement : lineElements) { for (Match lineMatch : searchElement.getMatches()) { int offset = lineMatch.getOffset(); @@ -484,9 +483,9 @@ public abstract class PDOMSearchQuery implements ISearchQuery { public final IStatus run(IProgressMonitor monitor) throws OperationCanceledException { PDOMSearchResult result= (PDOMSearchResult) getSearchResult(); result.removeAll(); - + result.setIndexerBusy(!CCorePlugin.getIndexManager().isIndexerIdle()); - + try { IIndex index= CCorePlugin.getIndexManager().getIndex(projects, 0); try { @@ -513,7 +512,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery { public ICProject[] getProjects() { return projects; } - + public String getScopeDescription() { StringBuilder buf= new StringBuilder(); switch (scope.length) { From 7706c852e9a507cc2f53cd948792f7e3ea3617b2 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Thu, 30 Jun 2011 16:17:51 -0400 Subject: [PATCH 34/52] Bug 293679: Change title of dialog to reflect ability to do multi-select attach --- .../dsf/gdb/internal/ui/launching/LaunchUIMessages.properties | 4 ++-- .../cdt/dsf/gdb/internal/ui/launching/ProcessPrompter.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/LaunchUIMessages.properties b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/LaunchUIMessages.properties index 9c90e6e21ea..e31b056304e 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/LaunchUIMessages.properties +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/LaunchUIMessages.properties @@ -102,9 +102,9 @@ LocalRunLaunchDelegate.Does_not_support_working_dir=Eclipse runtime does not sup LocalAttachLaunchDelegate.Attaching_to_Local_C_Application=Attaching to Local C/C++ Application LocalAttachLaunchDelegate.No_Process_ID_selected=No Process ID selected -LocalAttachLaunchDelegate.Select_Process=Select Process +LocalAttachLaunchDelegate.Select_Process=Select Processes LocalAttachLaunchDelegate.Platform_cannot_list_processes=Current platform does not support listing processes -LocalAttachLaunchDelegate.Select_Process_to_attach_debugger_to=Select a Process to attach debugger to: +LocalAttachLaunchDelegate.Select_Process_to_attach_debugger_to=Select one or more processes to attach to: LocalAttachLaunchDelegate.CDT_Launch_Error=CDT Launch Error CoreFileLaunchDelegate.Launching_postmortem_debugger=Launching postmortem debugger diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/ProcessPrompter.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/ProcessPrompter.java index 666bbfebba7..e2010daf80a 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/ProcessPrompter.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/ProcessPrompter.java @@ -148,8 +148,8 @@ public class ProcessPrompter implements IStatusHandler { // Display the list of processes and have the user choose ProcessPrompterDialog dialog = new ProcessPrompterDialog(shell, provider, qprovider, prompterInfo.supportsNewProcess); - dialog.setTitle(LaunchMessages.getString("LocalAttachLaunchDelegate.Select_Process")); //$NON-NLS-1$ - dialog.setMessage(LaunchMessages.getString("LocalAttachLaunchDelegate.Select_Process_to_attach_debugger_to")); //$NON-NLS-1$ + dialog.setTitle(LaunchUIMessages.getString("LocalAttachLaunchDelegate.Select_Process")); //$NON-NLS-1$ + dialog.setMessage(LaunchUIMessages.getString("LocalAttachLaunchDelegate.Select_Process_to_attach_debugger_to")); //$NON-NLS-1$ // Allow for multiple selection dialog.setMultipleSelection(true); From 29c0d80c92738d67711ce7cc2d584f48402e78eb Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Thu, 30 Jun 2011 16:10:28 -0400 Subject: [PATCH 35/52] Bug 350330 - Cached stopped event is not reset in MIStack.flushCache(). --- .../src/org/eclipse/cdt/dsf/mi/service/MIStack.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIStack.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIStack.java index 19e865dae6e..415e014fb52 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIStack.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIStack.java @@ -942,6 +942,7 @@ public class MIStack extends AbstractDsfService public void flushCache(IDMContext context) { fMICommandCache.reset(context); fStackDepthCache.clear(context); + fCachedStoppedEvent = null; } } From 39344a13d2f4ed787849d28fe9ac98457871daf3 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 30 Jun 2011 15:12:11 -0700 Subject: [PATCH 36/52] Cosmetics. --- .../cdt/internal/ui/typehierarchy/THGraph.java | 18 +++++++----------- .../internal/ui/typehierarchy/THGraphEdge.java | 3 +-- .../internal/ui/typehierarchy/THGraphNode.java | 3 +-- .../cdt/internal/ui/typehierarchy/THNode.java | 3 +-- 4 files changed, 10 insertions(+), 17 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraph.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraph.java index 85ee76f8ffe..1318d108ea5 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraph.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraph.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ package org.eclipse.cdt.internal.ui.typehierarchy; @@ -106,7 +106,7 @@ class THGraph { } } } - // check if edge is already there. + // Check if edge is already there. List out= from.getOutgoing(); for (THGraphEdge edge : out) { if (edge.getEndNode() == to) { @@ -176,8 +176,7 @@ class THGraph { } } } - } - else if (binding instanceof ITypedef) { + } else if (binding instanceof ITypedef) { ITypedef ct= (ITypedef) binding; IType type= ct.getType(); if (type instanceof IBinding) { @@ -257,24 +256,21 @@ class THGraph { addMemberElements(index, members, memberList); members= ct.getDeclaredMethods(); addMemberElements(index, members, memberList); - } - else if (binding instanceof ICompositeType) { + } else if (binding instanceof ICompositeType) { ICompositeType ct= (ICompositeType) binding; IBinding[] members= ct.getFields(); addMemberElements(index, members, memberList); - } - else if (binding instanceof IEnumeration) { + } else if (binding instanceof IEnumeration) { IEnumeration ct= (IEnumeration) binding; IBinding[] members= ct.getEnumerators(); addMemberElements(index, members, memberList); } } catch (DOMException e) { - // problem bindings should not be reported to the log. + // Problem bindings should not be reported to the log. } if (memberList.isEmpty()) { graphNode.setMembers(NO_MEMBERS); - } - else { + } else { graphNode.setMembers(memberList.toArray(new ICElement[memberList.size()])); } } diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraphEdge.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraphEdge.java index 75f10950b7a..8f9cc030c33 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraphEdge.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraphEdge.java @@ -6,9 +6,8 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ - package org.eclipse.cdt.internal.ui.typehierarchy; class THGraphEdge { diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraphNode.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraphNode.java index 825e8cfc458..70a9104d100 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraphNode.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraphNode.java @@ -6,9 +6,8 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ - package org.eclipse.cdt.internal.ui.typehierarchy; import java.util.ArrayList; diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THNode.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THNode.java index 9b22c8a89df..738878a4e78 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THNode.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THNode.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ package org.eclipse.cdt.internal.ui.typehierarchy; @@ -76,7 +76,6 @@ public class THNode implements IAdaptable { return fParent; } - public ICElement getElement() { return fElement; } From 268b294717d61902361c57f97db464ae0efcdd36 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 30 Jun 2011 15:22:17 -0700 Subject: [PATCH 37/52] Cosmetics. --- .../org/eclipse/cdt/internal/ui/typehierarchy/THGraph.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraph.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraph.java index 1318d108ea5..93ad1f49f44 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraph.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/typehierarchy/THGraph.java @@ -94,7 +94,7 @@ class THGraph { stack.add(to); while (!stack.isEmpty()) { - THGraphNode node= stack.remove(stack.size()-1); + THGraphNode node= stack.remove(stack.size() - 1); List out= node.getOutgoing(); for (THGraphEdge edge : out) { node= edge.getEndNode(); @@ -150,7 +150,7 @@ class THGraph { if (monitor.isCanceled()) { return; } - ICElement elem= stack.remove(stack.size()-1); + ICElement elem= stack.remove(stack.size() - 1); THGraphNode graphNode= addNode(elem); try { IIndexBinding binding = IndexUI.elementToBinding(index, elem); @@ -212,7 +212,7 @@ class THGraph { if (monitor.isCanceled()) { return; } - ICElement elem= stack.remove(stack.size()-1); + ICElement elem= stack.remove(stack.size() - 1); THGraphNode graphNode= addNode(elem); try { IBinding binding = IndexUI.elementToBinding(index, elem); From 24c4f8f836a00eeb77a766f27babf2b0c8578295 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Fri, 1 Jul 2011 10:42:46 +0200 Subject: [PATCH 38/52] Bug 328528: Read/write flags in initializers. --- .../internal/index/tests/IndexNamesTests.java | 146 ++++++++++++------ .../dom/parser/VariableReadWriteFlags.java | 108 +++++++------ .../dom/parser/c/CVariableReadWriteFlags.java | 22 +-- .../semantics/CPPVariableReadWriteFlags.java | 51 +++++- 4 files changed, 215 insertions(+), 112 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexNamesTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexNamesTests.java index f63a74baa1c..2b220298a8d 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexNamesTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexNamesTests.java @@ -67,9 +67,9 @@ public class IndexNamesTests extends BaseTestCase { return fCProject.getProject(); } - protected StringBuffer[] getContentsForTest(int blocks) throws IOException { + public String getComment() throws IOException { return TestSourceReader.getContentsForTest( - CTestPlugin.getDefault().getBundle(), "parser", getClass(), getName(), blocks); + CTestPlugin.getDefault().getBundle(), "parser", getClass(), getName(), 1)[0].toString(); } protected IFile createFile(IContainer container, String fileName, String contents) throws Exception { @@ -102,7 +102,7 @@ public class IndexNamesTests extends BaseTestCase { // }; public void testNestingWithFunction() throws Exception { waitForIndexer(); - String content= getContentsForTest(1)[0].toString(); + String content= getComment(); IFile file= createFile(getProject().getProject(), "test.cpp", content); waitUntilFileIsIndexed(file, 4000); @@ -161,7 +161,7 @@ public class IndexNamesTests extends BaseTestCase { // }; public void testNestingWithMethod() throws Exception { waitForIndexer(); - String content= getContentsForTest(1)[0].toString(); + String content= getComment(); IFile file= createFile(getProject().getProject(), "test.cpp", content); waitUntilFileIsIndexed(file, 4000); @@ -257,7 +257,7 @@ public class IndexNamesTests extends BaseTestCase { // } public void testCouldBePolymorphicMethodCall_Bug156691() throws Exception { waitForIndexer(); - String content= getContentsForTest(1)[0].toString(); + String content= getComment(); IFile file= createFile(getProject().getProject(), "test.cpp", content); waitUntilFileIsIndexed(file, 4000); @@ -315,7 +315,7 @@ public class IndexNamesTests extends BaseTestCase { // } public void testReadWriteFlagsC() throws Exception { waitForIndexer(); - String content= getContentsForTest(1)[0].toString(); + String content= getComment(); IFile file= createFile(getProject().getProject(), "test.c", content); waitUntilFileIsIndexed(file, 4000); @@ -329,16 +329,15 @@ public class IndexNamesTests extends BaseTestCase { IIndexFile ifile= fIndex.getFile(linkageID, IndexLocationFactory.getWorkspaceIFL(file)); IIndexName[] names= ifile.findNames(0, Integer.MAX_VALUE); int j= 0; - for (int i = 0; i < names.length; i++) { - IIndexName indexName = names[i]; + for (IIndexName indexName : names) { final String name = indexName.toString(); final char c0= name.length() > 0 ? name.charAt(0) : 0; if ((c0 == '_' || c0 == 'r' || c0 == 'w') && indexName.isReference()) { - boolean isRead= name.charAt(0) == 'r' || name.charAt(0) == 'u'; - boolean isWrite= name.charAt(isRead ? 1 : 0) == 'w' || name.charAt(0) == 'u'; - String msg= "i=" + i + ", " + name + ":"; - assertEquals(msg, isRead, indexName.isReadAccess()); - assertEquals(msg, isWrite, indexName.isWriteAccess()); + boolean isRead= name.charAt(0) == 'r'; + boolean isWrite= c0 == 'w' || (isRead && name.length() > 1 && name.charAt(1) == 'w'); + String msg= name + "(j=" + j + "):"; + assertEquals("Read access for " + msg, isRead, indexName.isReadAccess()); + assertEquals("Write access for " + msg, isWrite, indexName.isWriteAccess()); j++; } else { @@ -352,50 +351,99 @@ public class IndexNamesTests extends BaseTestCase { } } - // int _i, ri, wi, rwi, rfind, ui; - // int* rp; int* wp; int* rwp; int* up; - // int* const rpc= 0; - // const int * const rcpc= 0; - // const int* cip= &ri; - // int* bla= &rwi; - // void fi(int); - // void fp(int*); - // void fr(int&); - // void fcp(const int*); - // void fcr(const int&); - // void fpp(int**); - // void fpr(int*&); - // void fcpp(int const**); - // void fcpr(int const*&); - // void fpcp(int *const*); - // void fpcr(int *const&); - // void fcpcp(int const *const*); - // void fcpcr(int const *const&); - // + // int _i, ri, wi, rwi; + // int* rp; int* wp; int* rwp; + // int* const rpc= 0; + // const int * const rcpc= 0; + // const int* rwcp= &ri; + // void fi(int); + // void fp(int*); + // void fr(int&); + // void fcp(const int*); + // void fcr(const int&); + // void fpp(int**); + // void fpr(int*&); + // void fcpp(int const**); + // void fcpr(int const*&); + // void fpcp(int *const*); + // void fpcr(int *const&); + // void fcpcp(int const *const*); + // void fcpcr(int const *const&); // int test() { - // _i; + // _i; // wi= ri, _i, _i; // expr-list - // rwi %= ri; // assignment - // ri ? _i : _i; // conditional - // (ri ? wi : wi)= ri; // conditional - // if (ri) _i; - // for(wi=1; ri>ri; rwi++) _i; + // rwi %= ri; // assignment + // ri ? _i : _i; // conditional + // (ri ? wi : wi)= ri; // conditional + // if (ri) _i; + // for(wi=1; ri>ri; rwi++) _i; // do {_i;} while (ri); - // while(ri) {_i;}; - // switch(ri) {case ri: _i;}; - // fi(ri); fp(&rwi); fcp(&ri); - // fi(*rp); fp(rp); fcp(rp); fpp(&rwp); fcpp(&up); fpcp(&rpc); fcpcp(&rcpc); - // fr(rwi); fcr(ri); fpr(&ui); - // fcpr(&ui); fpcr(&rwi); fcpcr(&ri); - // fpr(rwp); fcpr(up); fpcr(rp); fcpcr(rp); - // return ri; + // while(ri) {_i;}; + // switch(ri) {case ri: _i;}; + // fi(ri); fp(&rwi); fcp(&ri); + // fi(*rp); fp(rp); fcp(rp); fpp(&rwp); fcpp(&rwcp); fpcp(&rpc); fcpcp(&rcpc); + // fr(rwi); fcr(ri); + // fpcr(&rwi); fcpcr(&ri); + // fpr(rwp); fcpr(rwcp); fpcr(rp); fcpcr(rp); + // return ri; // } public void testReadWriteFlagsCpp() throws Exception { waitForIndexer(); - String content= getContentsForTest(1)[0].toString(); + String content= getComment(); IFile file= createFile(getProject().getProject(), "test.cpp", content); waitUntilFileIsIndexed(file, 4000); - checkReadWriteFlags(file, ILinkage.CPP_LINKAGE_ID, 47); + checkReadWriteFlags(file, ILinkage.CPP_LINKAGE_ID, 48); + } + + + // int _i, ri, wi, rwi; + // void f(int&, int); + // void g(int, int&); + // void test() { + // f(rwi, ri); + // g(ri, rwi); + // } + public void testRWInSecondArg() throws Exception { + waitForIndexer(); + String content= getComment(); + IFile file= createFile(getProject().getProject(), "testRWInSecondArg.cpp", content); + waitUntilFileIsIndexed(file, 4000); + + checkReadWriteFlags(file, ILinkage.CPP_LINKAGE_ID, 4); + } + + // struct A { + // A(int p) {} + // }; + // int r; + // A a(r); // Should be read-access + // void test() { + // A b(r); // Should be read-access + // } + public void testRWInConstructorCall_328528() throws Exception { + waitForIndexer(); + String content= getComment(); + IFile file= createFile(getProject().getProject(), "testRWInConstructorCall.cpp", content); + waitUntilFileIsIndexed(file, 4000); + + checkReadWriteFlags(file, ILinkage.CPP_LINKAGE_ID, 2); + } + + // struct A { + // A(int p) {} + // }; + // int r; + // int a[2] = {0, r}; // Should be read-access + // void test() { + // int b[2] = {0, r}; // Should be read-access + // } + public void testRWInArrayInitializer_328528() throws Exception { + waitForIndexer(); + String content= getComment(); + IFile file= createFile(getProject().getProject(), "testRWInArrayInitializer.cpp", content); + waitUntilFileIsIndexed(file, 4000); + + checkReadWriteFlags(file, ILinkage.CPP_LINKAGE_ID, 2); } } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/VariableReadWriteFlags.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/VariableReadWriteFlags.java index 42c8432cb0a..e968dfe3643 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/VariableReadWriteFlags.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/VariableReadWriteFlags.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 Wind River Systems, Inc. and others. + * Copyright (c) 2007, 2011 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -28,6 +28,8 @@ import org.eclipse.cdt.core.dom.ast.IASTForStatement; import org.eclipse.cdt.core.dom.ast.IASTFunctionCallExpression; import org.eclipse.cdt.core.dom.ast.IASTIdExpression; import org.eclipse.cdt.core.dom.ast.IASTIfStatement; +import org.eclipse.cdt.core.dom.ast.IASTInitializerClause; +import org.eclipse.cdt.core.dom.ast.IASTInitializerList; import org.eclipse.cdt.core.dom.ast.IASTNode; import org.eclipse.cdt.core.dom.ast.IASTProblemExpression; import org.eclipse.cdt.core.dom.ast.IASTProblemStatement; @@ -37,6 +39,7 @@ import org.eclipse.cdt.core.dom.ast.IASTSwitchStatement; import org.eclipse.cdt.core.dom.ast.IASTTypeIdExpression; import org.eclipse.cdt.core.dom.ast.IASTUnaryExpression; import org.eclipse.cdt.core.dom.ast.IASTWhileStatement; +import org.eclipse.cdt.core.dom.ast.IArrayType; import org.eclipse.cdt.core.dom.ast.IBinding; import org.eclipse.cdt.core.dom.ast.IFunctionType; import org.eclipse.cdt.core.dom.ast.IType; @@ -58,23 +61,22 @@ public abstract class VariableReadWriteFlags { } protected int rwAnyNode(IASTNode node, int indirection) { - final IASTNode parent= node.getParent(); + final IASTNode parent = node.getParent(); if (parent instanceof IASTExpression) { - return rwInExpression(node, (IASTExpression) parent, indirection); + return rwInExpression((IASTExpression) parent, node, indirection); + } else if (parent instanceof IASTStatement) { + return rwInStatement((IASTStatement) parent, node, indirection); + } else if (parent instanceof IASTEqualsInitializer) { + return rwInEqualsInitializer((IASTEqualsInitializer) parent, indirection); + } else if (parent instanceof IASTArrayModifier) { + return READ; // dimension + } else if (parent instanceof IASTInitializerList) { + return rwInInitializerList((IASTInitializerList) parent, indirection); } - else if (parent instanceof IASTStatement) { - return rwInStatement(node, (IASTStatement) parent, indirection); - } - else if (parent instanceof IASTEqualsInitializer) { - return rwInInitializerExpression(indirection, parent); - } - else if (parent instanceof IASTArrayModifier) { - return READ; // dimension - } - return READ | WRITE; // fallback + return READ | WRITE; // fallback } - protected int rwInInitializerExpression(int indirection, IASTNode parent) { + protected int rwInEqualsInitializer(IASTEqualsInitializer parent, int indirection) { IASTNode grand= parent.getParent(); if (grand instanceof IASTDeclarator) { IBinding binding= ((IASTDeclarator) grand).getName().getBinding(); @@ -85,7 +87,24 @@ public abstract class VariableReadWriteFlags { return READ | WRITE; // fallback } - protected int rwInExpression(IASTNode node, IASTExpression expr, int indirection) { + protected int rwInInitializerList(IASTInitializerList parent, int indirection) { + IASTNode grand= parent.getParent(); + if (grand instanceof IASTEqualsInitializer) { + IASTNode grandGrand= grand.getParent(); + if (grandGrand instanceof IASTDeclarator) { + IBinding binding= ((IASTDeclarator) grandGrand).getName().resolveBinding(); + if (binding instanceof IVariable) { + IType type= ((IVariable) binding).getType(); + if (type instanceof IArrayType) { + return rwAssignmentToType(type, indirection); + } + } + } + } + return READ | WRITE; // fallback + } + + protected int rwInExpression(IASTExpression expr, IASTNode node, int indirection) { if (expr instanceof IASTBinaryExpression) { return rwInBinaryExpression(node, (IASTBinaryExpression) expr, indirection); } @@ -108,14 +127,8 @@ public abstract class VariableReadWriteFlags { return rwAnyNode(expr, indirection); } if (expr instanceof IASTExpressionList) { - final IASTExpressionList exprList = (IASTExpressionList)expr; - final IASTNode grand= expr.getParent(); - if (grand instanceof IASTFunctionCallExpression && expr.getPropertyInParent() == IASTFunctionCallExpression.ARGUMENT) { - final IASTFunctionCallExpression funcCall = (IASTFunctionCallExpression) grand; - return rwArgumentForFunctionCall(node, exprList, funcCall, indirection); - } - // only the first expression is passed on. - final IASTExpression[] expressions = exprList.getExpressions(); + // Only the first expression is passed on. + final IASTExpression[] expressions = ((IASTExpressionList) expr).getExpressions(); if (expressions.length > 0 && expressions[0] == node) { return rwAnyNode(expr, indirection); } @@ -131,7 +144,7 @@ public abstract class VariableReadWriteFlags { if (node.getPropertyInParent() == IASTFunctionCallExpression.FUNCTION_NAME) { return READ; } - return rwArgumentForFunctionCall((IASTFunctionCallExpression) expr, 0, indirection); + return rwArgumentForFunctionCall((IASTFunctionCallExpression) expr, node, indirection); } if (expr instanceof IASTIdExpression) { return rwAnyNode(expr, indirection); @@ -143,37 +156,38 @@ public abstract class VariableReadWriteFlags { return 0; } - return READ | WRITE; // fall back + return READ | WRITE; // fall back } - protected int rwArgumentForFunctionCall(IASTNode node, final IASTExpressionList exprList, - final IASTFunctionCallExpression funcCall, int indirection) { - final IASTExpression[] expressions = exprList.getExpressions(); - for (int i = 0; i < expressions.length; i++) { - if (expressions[i] == node) { - return rwArgumentForFunctionCall(funcCall, i, indirection); - } - } - return READ | WRITE;// fallback - } - - protected int rwArgumentForFunctionCall(final IASTFunctionCallExpression func, int parameterIdx, int indirection) { - final IASTExpression functionNameExpression = func.getFunctionNameExpression(); - if (functionNameExpression != null) { - final IType type= functionNameExpression.getExpressionType(); - if (type instanceof IFunctionType) { - IType[] ptypes= ((IFunctionType) type).getParameterTypes(); - if (ptypes != null && ptypes.length > parameterIdx) { - return rwAssignmentToType(ptypes[parameterIdx], indirection); + protected int rwArgumentForFunctionCall(final IASTFunctionCallExpression funcCall, IASTNode argument, int indirection) { + final IASTInitializerClause[] args = funcCall.getArguments(); + for (int i = 0; i < args.length; i++) { + if (args[i] == argument) { + final IASTExpression functionNameExpression = funcCall.getFunctionNameExpression(); + if (functionNameExpression != null) { + final IType type= functionNameExpression.getExpressionType(); + if (type instanceof IFunctionType) { + return rwArgumentForFunctionCall((IFunctionType) type, i, indirection); + } } + break; } } - return READ | WRITE; // fallback + return READ | WRITE; // fallback + } + + + protected int rwArgumentForFunctionCall(IFunctionType type, int parameterIdx, int indirection) { + IType[] ptypes= type.getParameterTypes(); + if (ptypes != null && ptypes.length > parameterIdx) { + return rwAssignmentToType(ptypes[parameterIdx], indirection); + } + return READ | WRITE; // Fallback } protected abstract int rwAssignmentToType(IType type, int indirection); - protected int rwInStatement(IASTNode node, IASTStatement stmt, int indirection) { + protected int rwInStatement(IASTStatement stmt, IASTNode node, int indirection) { if (stmt instanceof IASTCaseStatement) { if (node.getPropertyInParent() == IASTCaseStatement.EXPRESSION) { return READ; @@ -314,6 +328,6 @@ public abstract class VariableReadWriteFlags { } return READ; } - return READ; // fallback + return READ; // fallback } } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CVariableReadWriteFlags.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CVariableReadWriteFlags.java index b32c6c3a869..67704164d75 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CVariableReadWriteFlags.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CVariableReadWriteFlags.java @@ -10,8 +10,8 @@ *******************************************************************************/ package org.eclipse.cdt.internal.core.dom.parser.c; +import org.eclipse.cdt.core.dom.ast.IASTEqualsInitializer; import org.eclipse.cdt.core.dom.ast.IASTExpression; -import org.eclipse.cdt.core.dom.ast.IASTExpressionList; import org.eclipse.cdt.core.dom.ast.IASTFunctionCallExpression; import org.eclipse.cdt.core.dom.ast.IASTName; import org.eclipse.cdt.core.dom.ast.IASTNode; @@ -45,35 +45,27 @@ public final class CVariableReadWriteFlags extends VariableReadWriteFlags { } @Override - protected int rwInExpression(IASTNode node, IASTExpression expr, int indirection) { + protected int rwInExpression(IASTExpression expr, IASTNode node, int indirection) { if (expr instanceof ICASTTypeIdInitializerExpression) { return 0; } - return super.rwInExpression(node, expr, indirection); + return super.rwInExpression(expr, node, indirection); } @Override - protected int rwInInitializerExpression(int indirection, IASTNode parent) { + protected int rwInEqualsInitializer(IASTEqualsInitializer parent, int indirection) { if (indirection == 0) { return READ; } - return super.rwInInitializerExpression(indirection, parent); + return super.rwInEqualsInitializer(parent, indirection); } @Override - protected int rwArgumentForFunctionCall(IASTFunctionCallExpression func, int parameterIdx,int indirection) { + protected int rwArgumentForFunctionCall(IASTFunctionCallExpression funcCall, IASTNode argument, int indirection) { if (indirection == 0) { return READ; } - return super.rwArgumentForFunctionCall(func, parameterIdx, indirection); - } - - @Override - protected int rwArgumentForFunctionCall(IASTNode node, IASTExpressionList exprList, IASTFunctionCallExpression funcCall, int indirection) { - if (indirection == 0) { - return READ; - } - return super.rwArgumentForFunctionCall(node, exprList, funcCall, indirection); + return super.rwArgumentForFunctionCall(funcCall, argument, indirection); } @Override diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVariableReadWriteFlags.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVariableReadWriteFlags.java index d5425756a40..89862e99f52 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVariableReadWriteFlags.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVariableReadWriteFlags.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2009 Wind River Systems, Inc. and others. + * Copyright (c) 2007, 2011 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,16 +7,24 @@ * * Contributors: * Markus Schorn - initial API and implementation + * Patrick Hofer - [Bug 328528] *******************************************************************************/ package org.eclipse.cdt.internal.core.dom.parser.cpp.semantics; +import org.eclipse.cdt.core.dom.ast.IASTDeclarator; +import org.eclipse.cdt.core.dom.ast.IASTImplicitName; +import org.eclipse.cdt.core.dom.ast.IASTImplicitNameOwner; import org.eclipse.cdt.core.dom.ast.IASTName; import org.eclipse.cdt.core.dom.ast.IASTNode; import org.eclipse.cdt.core.dom.ast.IASTUnaryExpression; +import org.eclipse.cdt.core.dom.ast.IBinding; import org.eclipse.cdt.core.dom.ast.IPointerType; import org.eclipse.cdt.core.dom.ast.IQualifierType; import org.eclipse.cdt.core.dom.ast.IType; +import org.eclipse.cdt.core.dom.ast.IVariable; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorInitializer; import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTUnaryExpression; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPConstructor; import org.eclipse.cdt.core.dom.ast.cpp.ICPPReferenceType; import org.eclipse.cdt.internal.core.dom.parser.ITypeContainer; import org.eclipse.cdt.internal.core.dom.parser.VariableReadWriteFlags; @@ -34,6 +42,47 @@ public final class CPPVariableReadWriteFlags extends VariableReadWriteFlags { return INSTANCE.rwAnyNode(variable, 0); } + @Override + protected int rwAnyNode(IASTNode node, int indirection) { + final IASTNode parent = node.getParent(); + if (parent instanceof ICPPASTConstructorInitializer) { + return rwInCtorInitializer(node, indirection, (ICPPASTConstructorInitializer) parent); + } + return super.rwAnyNode(node, indirection); + } + + private int rwInCtorInitializer(IASTNode node, int indirection, ICPPASTConstructorInitializer parent) { + IASTNode grand= parent.getParent(); + if (grand instanceof IASTDeclarator) { + // Look for a constructor being called. + if (grand instanceof IASTImplicitNameOwner) { + IASTImplicitName[] names = ((IASTImplicitNameOwner) grand).getImplicitNames(); + for (IASTImplicitName in : names) { + IBinding b= in.resolveBinding(); + if (b instanceof ICPPConstructor) { + final ICPPConstructor ctor = (ICPPConstructor) b; + int idx= 0; + for (IASTNode child : parent.getArguments()) { + if (child == node) { + return rwArgumentForFunctionCall(ctor.getType(), idx, indirection); + } + idx++; + } + } + } + } + // Allow for initialization of primitive types. + if (parent.getArguments().length == 1) { + IBinding binding= ((IASTDeclarator) grand).getName().getBinding(); + if (binding instanceof IVariable) { + IType type= ((IVariable) binding).getType(); + return rwAssignmentToType(type, indirection); + } + } + } + return READ | WRITE; // fallback + } + @Override protected int rwInUnaryExpression(IASTNode node, IASTUnaryExpression expr, int indirection) { switch (expr.getOperator()) { From 7867099287697f04cdc64cad3313f3cc424e5d80 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Sat, 2 Jul 2011 00:41:56 -0400 Subject: [PATCH 39/52] bug 312835: CDT build settings which are set at the folder level are ignored in certain situations. Based on patch from MJ --- .../makegen/gnu/GnuMakefileGenerator.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java index 45e6bf1bbfb..f73baa7605a 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java @@ -1207,16 +1207,17 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 { buffer.append(COMMENT_SYMBOL + WHITESPACE + ManagedMakeMessages.getResourceString(SRC_LISTS) + NEWLINE); buffer.append("-include sources.mk" + NEWLINE); //$NON-NLS-1$ - // add an include for each subdir - buffer.append("-include subdir.mk" + NEWLINE); //$NON-NLS-1$ - - for (IResource res : getSubdirList()) { - IContainer subDir = (IContainer)res; + // Add includes for each subdir in child-subdir-first order (required for makefile rule matching to work). + List subDirList = new ArrayList(); + for (IContainer subDir : getSubdirList()) { IPath projectRelativePath = subDir.getProjectRelativePath(); - if(!projectRelativePath.toString().equals("")) //$NON-NLS-1$ - buffer.append("-include " + escapeWhitespaces(projectRelativePath.toString()) + SEPARATOR + "subdir.mk"+ NEWLINE); //$NON-NLS-1$ //$NON-NLS-2$ + subDirList.add(0, projectRelativePath.toString()); } + for (String dir : subDirList) { + buffer.append("-include " + escapeWhitespaces(dir) + SEPARATOR + "subdir.mk"+ NEWLINE); //$NON-NLS-1$ //$NON-NLS-2$ + } + buffer.append("-include subdir.mk" + NEWLINE); //$NON-NLS-1$ buffer.append("-include objects.mk" + NEWLINE + NEWLINE); //$NON-NLS-1$ From 6bbc31c7a25defb4c3fe1c3efd9cbaeb50bf59d5 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Sat, 2 Jul 2011 02:25:38 -0400 Subject: [PATCH 40/52] bug 312835: CDT build settings which are set at the folder level are ignored in certain situations - restored reverse sorting plus unit tests adjusted --- .../depCalcProjects/test1DepCalc2/Benchmarks/makefile | 2 +- .../depCalcProjects/test1DepCalc3/Benchmarks/makefile | 2 +- .../test1DepCalcPreBuild/Benchmarks/makefile | 2 +- .../resources/oldTypeProjects/2.1/Benchmarks/makefile | 2 +- .../oldTypeProjects/2.1CPP/Benchmarks/makefile | 2 +- .../test21Projects/multiResConfig/Benchmarks/makefile | 2 +- .../test30Projects/CDTFortranTest2/Benchmarks/makefile | 2 +- .../test30Projects/copyandDeploy/Benchmarks/makefile | 2 +- .../test30Projects/multiResConfig/Benchmarks/makefile | 2 +- .../test with spaces/Benchmarks/makefile | 2 +- .../test30Projects/test30_2/Benchmarks/makefile | 2 +- .../Benchmarks/Test 4.0 ConfigName.Dbg/makefile | 10 +++++----- .../test40Projects/test_40/Benchmarks/dbg 2/makefile | 10 +++++----- .../makegen/gnu/GnuMakefileGenerator.java | 2 ++ 14 files changed, 23 insertions(+), 21 deletions(-) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/makefile index ca817ed064d..ec879dbab28 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/makefile @@ -8,9 +8,9 @@ RM := rm # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include Sources/sub\ sources/subdir.mk -include Sources/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/makefile index bb7df04e72c..ab37fe11c88 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/makefile @@ -8,9 +8,9 @@ RM := rm # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include Sources/sub\ sources/subdir.mk -include Sources/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/makefile index fe04e748726..d6a77e7b69f 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/makefile @@ -8,9 +8,9 @@ RM := rm # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include Sources/sub\ sources/subdir.mk -include Sources/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/oldTypeProjects/2.1/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/oldTypeProjects/2.1/Benchmarks/makefile index 038b91e1fe5..daf3ddba611 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/oldTypeProjects/2.1/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/oldTypeProjects/2.1/Benchmarks/makefile @@ -8,8 +8,8 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include Functions/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/oldTypeProjects/2.1CPP/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/oldTypeProjects/2.1CPP/Benchmarks/makefile index af08b211a27..f8e1db9fe0b 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/oldTypeProjects/2.1CPP/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/oldTypeProjects/2.1CPP/Benchmarks/makefile @@ -8,8 +8,8 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include Functions/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test21Projects/multiResConfig/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test21Projects/multiResConfig/Benchmarks/makefile index 84038314cd9..b3ff9638b40 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test21Projects/multiResConfig/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test21Projects/multiResConfig/Benchmarks/makefile @@ -8,10 +8,10 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include source2/source21/subdir.mk -include source2/subdir.mk -include source1/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/CDTFortranTest2/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/CDTFortranTest2/Benchmarks/makefile index dac8cf094f6..1494f91eb4d 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/CDTFortranTest2/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/CDTFortranTest2/Benchmarks/makefile @@ -8,9 +8,9 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include module/subdir.mk -include Sources/subdir.mk +-include subdir.mk -include objects.mk -include ../makefile.defs diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/copyandDeploy/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/copyandDeploy/Benchmarks/makefile index b529f504995..f5c7a35d105 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/copyandDeploy/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/copyandDeploy/Benchmarks/makefile @@ -8,8 +8,8 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include Functions/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/multiResConfig/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/multiResConfig/Benchmarks/makefile index cb444208e33..9019ba02cc1 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/multiResConfig/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/multiResConfig/Benchmarks/makefile @@ -8,10 +8,10 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include source2/source21/subdir.mk -include source2/subdir.mk -include source1/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/test with spaces/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/test with spaces/Benchmarks/makefile index 175913b7db4..93013536cd6 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/test with spaces/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/test with spaces/Benchmarks/makefile @@ -8,8 +8,8 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include sub\ folder\ with\ spaces/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/test30_2/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/test30_2/Benchmarks/makefile index 65717c42e50..8d9479bd03c 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/test30_2/Benchmarks/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/test30_2/Benchmarks/makefile @@ -8,8 +8,8 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include ABC/subdir.mk +-include subdir.mk -include objects.mk -include ../makefile.defs diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/Test 4.0 ConfigName.Dbg/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/Test 4.0 ConfigName.Dbg/makefile index cd8da22cb2a..b65df3e00e1 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/Test 4.0 ConfigName.Dbg/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/Test 4.0 ConfigName.Dbg/makefile @@ -8,15 +8,15 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include dir1/dd/ff/subdir.mk --include dir1/dd/excluded_c/subdir.mk -include dir1/dd/excluded_c/asd/subdir.mk --include d1_1/subdir.mk +-include dir1/dd/excluded_c/subdir.mk -include d1_1/d2_1/subdir.mk --include d1/subdir.mk --include d1/d2/subdir.mk +-include d1_1/subdir.mk -include d1/d2/d3/subdir.mk +-include d1/d2/subdir.mk +-include d1/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/dbg 2/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/dbg 2/makefile index b75363e252c..791ddb26174 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/dbg 2/makefile +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test40Projects/test_40/Benchmarks/dbg 2/makefile @@ -8,15 +8,15 @@ RM := rm -rf # All of the sources participating in the build are defined here -include sources.mk --include subdir.mk -include dir1/dd/ff/subdir.mk --include dir1/dd/excluded_c/subdir.mk -include dir1/dd/excluded_c/asd/subdir.mk --include d1_1/subdir.mk +-include dir1/dd/excluded_c/subdir.mk -include d1_1/d2_1/subdir.mk --include d1/subdir.mk --include d1/d2/subdir.mk +-include d1_1/subdir.mk -include d1/d2/d3/subdir.mk +-include d1/d2/subdir.mk +-include d1/subdir.mk +-include subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java index f73baa7605a..d103f8f4d43 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java @@ -22,6 +22,7 @@ import java.io.Reader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; +import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; @@ -1214,6 +1215,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 { if(!projectRelativePath.toString().equals("")) //$NON-NLS-1$ subDirList.add(0, projectRelativePath.toString()); } + Collections.sort(subDirList, Collections.reverseOrder()); for (String dir : subDirList) { buffer.append("-include " + escapeWhitespaces(dir) + SEPARATOR + "subdir.mk"+ NEWLINE); //$NON-NLS-1$ //$NON-NLS-2$ } From 8a2d881cbd0bd748150f6791cfdc941632e6e016 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Fri, 1 Jul 2011 14:18:03 +0200 Subject: [PATCH 41/52] Bug 344806: IIndex.getAllFiles() returns empty reference files. --- .../parser/org/eclipse/cdt/internal/core/index/CIndex.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/CIndex.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/CIndex.java index 86651061148..c5907a0da4e 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/CIndex.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/CIndex.java @@ -680,7 +680,9 @@ public class CIndex implements IIndex { HashMap result= new HashMap(); for (IIndexFragment fragment : fFragments) { for (IIndexFragmentFile file : fragment.getAllFiles()) { - result.put(file.getLocation(), file); + if (file.hasContent()) { + result.put(file.getLocation(), file); + } } } return result.values().toArray(new IIndexFile[result.size()]); From fa9ba41575574c1e78b6b4519eff27363a4fe5e3 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Fri, 1 Jul 2011 14:47:03 +0200 Subject: [PATCH 42/52] Bug 347462: Detection of implicitly called copy ctor. --- .../core/parser/tests/ast2/AST2CPPTests.java | 34 +++++++++++++++++++ .../parser/cpp/semantics/CPPSemantics.java | 7 +++- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java index 93a0582d0ca..81d470ebc78 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java @@ -9402,4 +9402,38 @@ public class AST2CPPTests extends AST2BaseTest { public void testMemberAccessForArray_347298() throws Exception { parseAndCheckBindings(); } + + // struct X {}; + // struct Y : X { + // Y(){} + // Y(Y const & y){} + // }; + // void test() { + // Y y; + // Y y2 = y; + // X x = y2; + // } + public void testReferenceToCopyConstructor() throws Exception { + IASTTranslationUnit tu= parseAndCheckBindings(); + ICPPASTFunctionDefinition fdef= getDeclaration(tu, 2); + + IASTDeclarationStatement dst= getStatement(fdef, 0); + IASTDeclarator dtor= ((IASTSimpleDeclaration) dst.getDeclaration()).getDeclarators()[0]; + IBinding ctor= ((IASTImplicitNameOwner) dtor).getImplicitNames()[0].resolveBinding(); + assertTrue(ctor instanceof ICPPConstructor); + assertEquals(0, ((ICPPConstructor) ctor).getType().getParameterTypes().length); + + dst= getStatement(fdef, 1); + dtor= ((IASTSimpleDeclaration) dst.getDeclaration()).getDeclarators()[0]; + ctor= ((IASTImplicitNameOwner) dtor).getImplicitNames()[0].resolveBinding(); + assertTrue(ctor instanceof ICPPConstructor); + assertEquals(1, ((ICPPConstructor) ctor).getType().getParameterTypes().length); + + dst= getStatement(fdef, 2); + dtor= ((IASTSimpleDeclaration) dst.getDeclaration()).getDeclarators()[0]; + ctor= ((IASTImplicitNameOwner) dtor).getImplicitNames()[0].resolveBinding(); + assertTrue(ctor instanceof ICPPConstructor); + assertEquals(1, ((ICPPConstructor) ctor).getType().getParameterTypes().length); + } + } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java index c7b538a33eb..4d744a4a26f 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java @@ -3047,7 +3047,12 @@ public class CPPSemantics { sourceType= new InitializerListType((ICPPASTInitializerList) initClause); } if (sourceType != null) { - Cost c= Conversions.checkImplicitConversionSequence(type, sourceType, isLValue, UDCMode.ALLOWED, Context.ORDINARY); + Cost c; + if (calculateInheritanceDepth(sourceType, classType) >= 0) { + c = Conversions.copyInitializationOfClass(isLValue, sourceType, classType, false); + } else { + c = Conversions.checkImplicitConversionSequence(type, sourceType, isLValue, UDCMode.ALLOWED, Context.ORDINARY); + } if (c.converts()) { ICPPFunction f = c.getUserDefinedConversion(); if (f instanceof ICPPConstructor) From f50bbd18197cdc69a36a7b36169708e7d21699e5 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Mon, 4 Jul 2011 10:10:54 +0200 Subject: [PATCH 43/52] Bug 350345: Typedef as class name for ctor with overloaded function pointer argument. --- .../core/parser/tests/ast2/AST2CPPTests.java | 17 ++++++++++++++++- .../dom/parser/cpp/semantics/CPPSemantics.java | 12 ++++++------ 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java index 81d470ebc78..c017eb25d00 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java @@ -9435,5 +9435,20 @@ public class AST2CPPTests extends AST2BaseTest { assertTrue(ctor instanceof ICPPConstructor); assertEquals(1, ((ICPPConstructor) ctor).getType().getParameterTypes().length); } - + + // struct Foo { + // void Method(int) {} + // void Method() const {} + // }; + // template struct Callback { + // Callback(void (Foo::*function)(Arg arg)) { + // } + // }; + // typedef Callback MyCallback; + // void xx() { + // MyCallback x= MyCallback(&Foo::Method); // Invalid overload of 'Foo::Method' + // } + public void testTypedefAsClassNameWithFunctionPtrArgument_350345() throws Exception { + parseAndCheckBindings(); + } } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java index 4d744a4a26f..822b794a9ce 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java @@ -361,13 +361,13 @@ public class CPPSemantics { } } - if (binding instanceof ICPPClassType) { - if (convertClassToConstructor(data.astName)) { - if (binding instanceof IIndexBinding) { - binding= data.tu.mapToAST((ICPPClassType) binding); + if (binding instanceof IType) { + IType t = getNestedType((IType) binding, TDEF); + if (t instanceof ICPPClassType && convertClassToConstructor(data.astName)) { + ICPPClassType cls= (ICPPClassType) t; + if (cls instanceof IIndexBinding) { + cls= data.tu.mapToAST(cls); } - ICPPClassType cls= (ICPPClassType) binding; - try { if (data.astName instanceof ICPPASTTemplateId && cls instanceof ICPPClassTemplate) { if (data.tu != null) { From 58dbe6d73836c34145e3ce42ff3fbcaa165bfcfe Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Mon, 4 Jul 2011 16:03:21 +0200 Subject: [PATCH 44/52] Bug 349534: Mark inactive preprocessor statements as such. --- .../cdt/core/parser/tests/ast2/AST2Tests.java | 16 ++++++++ .../parser/scanner/ASTPreprocessorNode.java | 34 +++++++--------- .../core/parser/scanner/CPreprocessor.java | 40 ++++++++++++------- .../core/parser/scanner/LocationMap.java | 29 +++++++++----- .../core/parser/scanner/ScannerContext.java | 8 +++- .../cdt/ui/tests/DOMAST/DOMASTNodeLeaf.java | 1 + 6 files changed, 81 insertions(+), 47 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java index f82112495b3..0f18f070973 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java @@ -58,6 +58,7 @@ import org.eclipse.cdt.core.dom.ast.IASTNode; import org.eclipse.cdt.core.dom.ast.IASTNullStatement; import org.eclipse.cdt.core.dom.ast.IASTParameterDeclaration; import org.eclipse.cdt.core.dom.ast.IASTPointerOperator; +import org.eclipse.cdt.core.dom.ast.IASTPreprocessorIfdefStatement; import org.eclipse.cdt.core.dom.ast.IASTPreprocessorMacroDefinition; import org.eclipse.cdt.core.dom.ast.IASTPreprocessorMacroExpansion; import org.eclipse.cdt.core.dom.ast.IASTPreprocessorPragmaStatement; @@ -7321,4 +7322,19 @@ public class AST2Tests extends AST2BaseTest { bh.assertNonProblem("a;", 1); } + // #ifdef A // active, not taken. + // #ifdef B // inactive, not taken. + // #endif // inactive + // #endif // active + public void testInactivePreprocessingStatements() throws Exception { + IASTTranslationUnit tu= parseAndCheckBindings(getAboveComment()); + IASTPreprocessorStatement[] stmts= tu.getAllPreprocessorStatements(); + assertTrue(stmts[0].isActive()); + assertFalse(stmts[1].isActive()); + assertFalse(stmts[2].isActive()); + assertTrue(stmts[3].isActive()); + + assertFalse(((IASTPreprocessorIfdefStatement) stmts[0]).taken()); + assertFalse(((IASTPreprocessorIfdefStatement) stmts[1]).taken()); + } } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java index 985304997a6..23ca3939424 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java @@ -127,15 +127,15 @@ class ASTComment extends ASTPreprocessorNode implements IASTComment { abstract class ASTDirectiveWithCondition extends ASTPreprocessorNode { protected final int fConditionOffset; - private final boolean fActive; - public ASTDirectiveWithCondition(IASTTranslationUnit parent, int startNumber, int condNumber, int endNumber, boolean active) { + private final boolean fTaken; + public ASTDirectiveWithCondition(IASTTranslationUnit parent, int startNumber, int condNumber, int endNumber, boolean taken) { super(parent, IASTTranslationUnit.PREPROCESSOR_STATEMENT, startNumber, endNumber); fConditionOffset= condNumber; - fActive= active; + fTaken= taken; } public boolean taken() { - return fActive; + return fTaken; } public String getConditionString() { @@ -154,19 +154,19 @@ class ASTEndif extends ASTPreprocessorNode implements IASTPreprocessorEndifState } class ASTElif extends ASTDirectiveWithCondition implements IASTPreprocessorElifStatement { - public ASTElif(IASTTranslationUnit parent, int startNumber, int condNumber, int condEndNumber, boolean active) { - super(parent, startNumber, condNumber, condEndNumber, active); + public ASTElif(IASTTranslationUnit parent, int startNumber, int condNumber, int condEndNumber, boolean taken) { + super(parent, startNumber, condNumber, condEndNumber, taken); } } class ASTElse extends ASTPreprocessorNode implements IASTPreprocessorElseStatement { - private final boolean fActive; - public ASTElse(IASTTranslationUnit parent, int startNumber, int endNumber, boolean active) { + private final boolean fTaken; + public ASTElse(IASTTranslationUnit parent, int startNumber, int endNumber, boolean taken) { super(parent, IASTTranslationUnit.PREPROCESSOR_STATEMENT, startNumber, endNumber); - fActive= active; + fTaken= taken; } public boolean taken() { - return fActive; + return fTaken; } } @@ -204,8 +204,8 @@ class ASTIfdef extends ASTDirectiveWithCondition implements IASTPreprocessorIfde } class ASTIf extends ASTDirectiveWithCondition implements IASTPreprocessorIfStatement { - public ASTIf(IASTTranslationUnit parent, int startNumber, int condNumber, int condEndNumber, boolean active) { - super(parent, startNumber, condNumber, condEndNumber, active); + public ASTIf(IASTTranslationUnit parent, int startNumber, int condNumber, int condEndNumber, boolean taken) { + super(parent, startNumber, condNumber, condEndNumber, taken); } } @@ -304,7 +304,6 @@ class ASTMacroDefinition extends ASTPreprocessorNode implements IASTPreprocessor private final ASTPreprocessorName fName; protected final int fExpansionNumber; private final int fExpansionOffset; - private final boolean fActive; /** * Regular constructor. @@ -314,8 +313,9 @@ class ASTMacroDefinition extends ASTPreprocessorNode implements IASTPreprocessor super(parent, IASTTranslationUnit.PREPROCESSOR_STATEMENT, startNumber, endNumber); fExpansionNumber= expansionNumber; fExpansionOffset= -1; - fActive= active; fName= new ASTPreprocessorDefinition(this, IASTPreprocessorMacroDefinition.MACRO_NAME, nameNumber, nameEndNumber, macro.getNameCharArray(), macro); + if (!active) + setInactive(); } /** @@ -327,7 +327,6 @@ class ASTMacroDefinition extends ASTPreprocessorNode implements IASTPreprocessor fName= new ASTBuiltinName(this, IASTPreprocessorMacroDefinition.MACRO_NAME, floc, macro.getNameCharArray(), macro); fExpansionNumber= -1; fExpansionOffset= expansionOffset; - fActive= true; } @@ -388,11 +387,6 @@ class ASTMacroDefinition extends ASTPreprocessorNode implements IASTPreprocessor public String toString() { return getName().toString() + '=' + getExpansion(); } - - @Override - final public boolean isActive() { - return fActive; - } } class ASTMacroParameter extends ASTPreprocessorNode implements IASTFunctionStyleMacroParameter { diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/CPreprocessor.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/CPreprocessor.java index 8cb705ff165..4687ae8fa83 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/CPreprocessor.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/CPreprocessor.java @@ -1380,7 +1380,7 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable { final int nameEndOffset = name.getEndOffset(); final int endOffset= lexer.currentToken().getEndOffset(); - boolean isActive= false; + boolean isTaken= false; PreprocessorMacro macro= null; final Conditional conditional= fCurrentContext.newBranch(BranchKind.eIf, withinExpansion); if (conditional.canHaveActiveBranch(withinExpansion)) { @@ -1394,19 +1394,23 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable { } else { final char[] namechars= name.getCharImage(); macro= fMacroDictionary.get(namechars); - isActive= (macro == null) == isIfndef; + isTaken= (macro == null) == isIfndef; if (macro == null) { macro = new UndefinedMacro(namechars); } } } + ASTPreprocessorNode stmt; if (isIfndef) { - fLocationMap.encounterPoundIfndef(offset, nameOffset, nameEndOffset, endOffset, isActive, macro); + stmt= fLocationMap.encounterPoundIfndef(offset, nameOffset, nameEndOffset, endOffset, isTaken, macro); } else { - fLocationMap.encounterPoundIfdef(offset, nameOffset, nameEndOffset, endOffset, isActive, macro); + stmt= fLocationMap.encounterPoundIfdef(offset, nameOffset, nameEndOffset, endOffset, isTaken, macro); } - return fCurrentContext.setBranchState(conditional, isActive, withinExpansion, offset); + if (!conditional.isActive(withinExpansion)) + stmt.setInactive(); + + return fCurrentContext.setBranchState(conditional, isTaken, withinExpansion, offset); } private CodeState executeIf(Lexer lexer, int startOffset, boolean isElif, boolean withinExpansion) throws OffsetLimitReachedException { @@ -1418,7 +1422,7 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable { return fCurrentContext.getCodeState(); } - boolean isActive= false; + boolean isTaken= false; IASTName[] refs= IASTName.EMPTY_NAME_ARRAY; int condOffset= lexer.nextToken().getOffset(); int condEndOffset, endOffset; @@ -1433,7 +1437,7 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable { } else { try { fExpressionEvaluator.clearMacrosInDefinedExpression(); - isActive= fExpressionEvaluator.evaluate(condition, fMacroDictionary, fLocationMap); + isTaken= fExpressionEvaluator.evaluate(condition, fMacroDictionary, fLocationMap); refs = fExpressionEvaluator.clearMacrosInDefinedExpression(); } catch (EvalException e) { handleProblem(e.getProblemID(), e.getProblemArg(), condOffset, endOffset); @@ -1444,12 +1448,16 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable { endOffset= lexer.currentToken().getEndOffset(); } + ASTPreprocessorNode stmt; if (isElif) { - fLocationMap.encounterPoundElif(startOffset, condOffset, condEndOffset, endOffset, isActive, refs); + stmt= fLocationMap.encounterPoundElif(startOffset, condOffset, condEndOffset, endOffset, isTaken, refs); } else { - fLocationMap.encounterPoundIf(startOffset, condOffset, condEndOffset, endOffset, isActive, refs); + stmt= fLocationMap.encounterPoundIf(startOffset, condOffset, condEndOffset, endOffset, isTaken, refs); } - return fCurrentContext.setBranchState(cond, isActive, withinExpansion, startOffset); + if (!cond.isActive(withinExpansion)) + stmt.setInactive(); + + return fCurrentContext.setBranchState(cond, isTaken, withinExpansion, startOffset); } private CodeState executeElse(final Lexer lexer, final int startOffset,boolean withinExpansion) @@ -1461,9 +1469,11 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable { return fCurrentContext.getCodeState(); } - final boolean isActive= cond.canHaveActiveBranch(withinExpansion); - fLocationMap.encounterPoundElse(startOffset, endOffset, isActive); - return fCurrentContext.setBranchState(cond, isActive, withinExpansion, startOffset); + final boolean isTaken= cond.canHaveActiveBranch(withinExpansion); + ASTElse stmt = fLocationMap.encounterPoundElse(startOffset, endOffset, isTaken); + if (!cond.isActive(withinExpansion)) + stmt.setInactive(); + return fCurrentContext.setBranchState(cond, isTaken, withinExpansion, startOffset); } private CodeState executeEndif(Lexer lexer, int startOffset, boolean withinExpansion) throws OffsetLimitReachedException { @@ -1472,7 +1482,9 @@ public class CPreprocessor implements ILexerLog, IScanner, IAdaptable { if (cond == null) { handleProblem(IProblem.PREPROCESSOR_UNBALANCE_CONDITION, Keywords.cENDIF, startOffset, endOffset); } else { - fLocationMap.encounterPoundEndIf(startOffset, endOffset); + ASTEndif stmt = fLocationMap.encounterPoundEndIf(startOffset, endOffset); + if (!cond.isActive(withinExpansion)) + stmt.setInactive(); } return fCurrentContext.setBranchEndState(cond, withinExpansion, startOffset); } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/LocationMap.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/LocationMap.java index 0436a19b413..09d5104e5ca 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/LocationMap.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/LocationMap.java @@ -248,19 +248,21 @@ public class LocationMap implements ILocationResolver { fProblems.add(problem); } - public void encounterPoundElse(int startOffset, int endOffset, boolean isActive) { + public ASTElse encounterPoundElse(int startOffset, int endOffset, boolean isActive) { startOffset= getSequenceNumberForOffset(startOffset); endOffset= getSequenceNumberForOffset(endOffset); - fDirectives.add(new ASTElse(fTranslationUnit, startOffset, endOffset, isActive)); + final ASTElse astElse = new ASTElse(fTranslationUnit, startOffset, endOffset, isActive); + fDirectives.add(astElse); + return astElse; } - public void encounterPoundElif(int startOffset, int condOffset, int condEndOffset, int endOffset, boolean isActive, + public ASTElif encounterPoundElif(int startOffset, int condOffset, int condEndOffset, int endOffset, boolean taken, IASTName[] macrosInDefinedExpression) { startOffset= getSequenceNumberForOffset(startOffset); condOffset= getSequenceNumberForOffset(condOffset); condEndOffset= getSequenceNumberForOffset(condEndOffset); // compatible with 4.0: endOffset= getSequenceNumberForOffset(endOffset); - final ASTElif elif = new ASTElif(fTranslationUnit, startOffset, condOffset, condEndOffset, isActive); + final ASTElif elif = new ASTElif(fTranslationUnit, startOffset, condOffset, condEndOffset, taken); fDirectives.add(elif); for (IASTName element : macrosInDefinedExpression) { @@ -269,13 +271,15 @@ public class LocationMap implements ILocationResolver { name.setPropertyInParent(IASTPreprocessorStatement.MACRO_NAME); addMacroReference(name); } - + return elif; } - public void encounterPoundEndIf(int startOffset, int endOffset) { + public ASTEndif encounterPoundEndIf(int startOffset, int endOffset) { startOffset= getSequenceNumberForOffset(startOffset); endOffset= getSequenceNumberForOffset(endOffset); - fDirectives.add(new ASTEndif(fTranslationUnit, startOffset, endOffset)); + final ASTEndif stmt = new ASTEndif(fTranslationUnit, startOffset, endOffset); + fDirectives.add(stmt); + return stmt; } public void encounterPoundError(int startOffset, int condOffset, int condEndOffset, int endOffset) { @@ -298,7 +302,7 @@ public class LocationMap implements ILocationResolver { fDirectives.add(new ASTPragmaOperator(fTranslationUnit, startNumber, condNumber, condEndNumber, endNumber)); } - public void encounterPoundIfdef(int startOffset, int condOffset, int condEndOffset, int endOffset, boolean taken, IMacroBinding macro) { + public ASTIfdef encounterPoundIfdef(int startOffset, int condOffset, int condEndOffset, int endOffset, boolean taken, IMacroBinding macro) { startOffset= getSequenceNumberForOffset(startOffset); condOffset= getSequenceNumberForOffset(condOffset); condEndOffset= getSequenceNumberForOffset(condEndOffset); @@ -306,9 +310,10 @@ public class LocationMap implements ILocationResolver { final ASTIfdef ifdef = new ASTIfdef(fTranslationUnit, startOffset, condOffset, condEndOffset, taken, macro); fDirectives.add(ifdef); addMacroReference(ifdef.getMacroReference()); + return ifdef; } - public void encounterPoundIfndef(int startOffset, int condOffset, int condEndOffset, int endOffset, boolean taken, IMacroBinding macro) { + public ASTIfndef encounterPoundIfndef(int startOffset, int condOffset, int condEndOffset, int endOffset, boolean taken, IMacroBinding macro) { startOffset= getSequenceNumberForOffset(startOffset); condOffset= getSequenceNumberForOffset(condOffset); condEndOffset= getSequenceNumberForOffset(condEndOffset); @@ -316,15 +321,16 @@ public class LocationMap implements ILocationResolver { final ASTIfndef ifndef = new ASTIfndef(fTranslationUnit, startOffset, condOffset, condEndOffset, taken, macro); fDirectives.add(ifndef); addMacroReference(ifndef.getMacroReference()); + return ifndef; } - public void encounterPoundIf(int startOffset, int condOffset, int condEndOffset, int endOffset, boolean isActive, + public ASTIf encounterPoundIf(int startOffset, int condOffset, int condEndOffset, int endOffset, boolean taken, IASTName[] macrosInDefinedExpression) { startOffset= getSequenceNumberForOffset(startOffset); condOffset= getSequenceNumberForOffset(condOffset); condEndOffset= getSequenceNumberForOffset(condEndOffset); // not using endOffset, compatible with 4.0: endOffset= getSequenceNumberForOffset(endOffset); - final ASTIf astif = new ASTIf(fTranslationUnit, startOffset, condOffset, condEndOffset, isActive); + final ASTIf astif = new ASTIf(fTranslationUnit, startOffset, condOffset, condEndOffset, taken); fDirectives.add(astif); for (IASTName element : macrosInDefinedExpression) { ASTMacroReferenceName name = (ASTMacroReferenceName) element; @@ -332,6 +338,7 @@ public class LocationMap implements ILocationResolver { name.setPropertyInParent(IASTPreprocessorStatement.MACRO_NAME); addMacroReference(name); } + return astif; } public void encounterPoundDefine(int startOffset, int nameOffset, int nameEndOffset, int expansionOffset, int endOffset, boolean isActive, IMacroBinding macrodef) { diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ScannerContext.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ScannerContext.java index b83fff9b4a9..63d82f34602 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ScannerContext.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ScannerContext.java @@ -23,7 +23,7 @@ final class ScannerContext { enum BranchKind {eIf, eElif, eElse, eEnd} enum CodeState {eActive, eParseInactive, eSkipInactive} final static class Conditional { - private CodeState fInitialState; + private final CodeState fInitialState; private BranchKind fLast; private boolean fTakeElse= true; Conditional(CodeState state) { @@ -31,7 +31,11 @@ final class ScannerContext { fLast= BranchKind.eIf; } boolean canHaveActiveBranch(boolean withinExpansion) { - return fTakeElse && (fInitialState == CodeState.eActive || withinExpansion); + return fTakeElse && isActive(withinExpansion); + } + + public boolean isActive(boolean withinExpansion) { + return withinExpansion || fInitialState == CodeState.eActive; } } diff --git a/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMASTNodeLeaf.java b/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMASTNodeLeaf.java index 168fe96cc1f..c892d5affae 100644 --- a/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMASTNodeLeaf.java +++ b/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMASTNodeLeaf.java @@ -503,6 +503,7 @@ public class DOMASTNodeLeaf implements IAdaptable { String methodName = id.toString(); methodName = methodName.replaceAll(NODE_PREFIX, BLANK_STRING); Method method = nodeClass.getMethod(methodName, new Class[0]); // only going to be getter methods... + method.setAccessible(true); result = method.invoke(node); } From bebd18a5b299d8ba3aa5e04b6f148065ba904a64 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Mon, 4 Jul 2011 16:35:49 +0200 Subject: [PATCH 45/52] Bug 351029: NPE resolving binding in copied AST. --- .../core/dom/parser/cpp/semantics/CPPVisitor.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java index 476f3a42bff..2599107a734 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java @@ -1065,9 +1065,12 @@ public class CPPVisitor extends ASTQueries { for (; i < names.length; i++) { if (names[i] == name) break; } + final IASTTranslationUnit tu = parent.getTranslationUnit(); if (i == 0) { if (qname.isFullyQualified()) { - return parent.getTranslationUnit().getScope(); + if (tu == null) + return null; + return tu.getScope(); } if (qname.getParent() instanceof ICPPASTFieldReference) { name= qname; @@ -1091,8 +1094,8 @@ public class CPPVisitor extends ASTQueries { boolean done= true; IScope scope= null; if (binding instanceof ICPPClassType) { - if (binding instanceof IIndexBinding) { - binding= (((CPPASTTranslationUnit) parent.getTranslationUnit())).mapToAST((ICPPClassType) binding); + if (binding instanceof IIndexBinding && tu != null) { + binding= (((CPPASTTranslationUnit) tu)).mapToAST((ICPPClassType) binding); } scope= ((ICPPClassType) binding).getCompositeScope(); } else if (binding instanceof ICPPNamespace) { From 48094a56891f802f0d5c0daf33518c5b4a654be9 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Tue, 5 Jul 2011 13:37:38 +0200 Subject: [PATCH 46/52] Bug 351009: Content assist for member-initializer outside of class body. --- .../tests/prefix/BasicCompletionTest.java | 13 ++++++++++++ .../CPPASTConstructorChainInitializer.java | 20 ++++++++++++------- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/prefix/BasicCompletionTest.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/prefix/BasicCompletionTest.java index 74c3044f17d..7e68668203f 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/prefix/BasicCompletionTest.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/prefix/BasicCompletionTest.java @@ -288,6 +288,19 @@ public class BasicCompletionTest extends CompletionTestBase { checkNonPrefixCompletion(code, true, expected); } + // struct A { + // A(int, char, int){} + // }; + // struct B : A { + // B(); + // }; + // B::B() : A + public void testCompletionInCtorOfMemberInitializer_351009() throws Exception { + String code = getAboveComment(); + String[] expected= {"A"}; + checkNonPrefixCompletion(code, true, expected); + } + // struct S {}; // void foo() { // S b diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTConstructorChainInitializer.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTConstructorChainInitializer.java index 64b49e12d20..1915f311ca1 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTConstructorChainInitializer.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTConstructorChainInitializer.java @@ -21,14 +21,15 @@ import org.eclipse.cdt.core.dom.ast.IASTName; import org.eclipse.cdt.core.dom.ast.IASTNode; import org.eclipse.cdt.core.dom.ast.IBinding; import org.eclipse.cdt.core.dom.ast.ICPPASTCompletionContext; -import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTCompositeTypeSpecifier; -import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier; import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorChainInitializer; import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorInitializer; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFunctionDefinition; import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTQualifiedName; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPBase; import org.eclipse.cdt.core.dom.ast.cpp.ICPPClassType; import org.eclipse.cdt.core.dom.ast.cpp.ICPPConstructor; import org.eclipse.cdt.core.dom.ast.cpp.ICPPField; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPMethod; import org.eclipse.cdt.core.dom.ast.cpp.ICPPNamespace; import org.eclipse.cdt.core.parser.util.ArrayUtil; import org.eclipse.cdt.core.parser.util.CharArraySet; @@ -160,11 +161,16 @@ public class CPPASTConstructorChainInitializer extends ASTNode implements private CharArraySet getBaseClasses(IASTName name) { CharArraySet result= new CharArraySet(2); for (IASTNode parent = name.getParent(); parent != null; parent = parent.getParent()) { - if (parent instanceof ICPPASTCompositeTypeSpecifier) { - ICPPASTCompositeTypeSpecifier specifier = (ICPPASTCompositeTypeSpecifier) parent; - for (ICPPASTBaseSpecifier bs : specifier.getBaseSpecifiers()) { - result.put(bs.getName().getLastName().getSimpleID()); - } + if (parent instanceof ICPPASTFunctionDefinition) { + ICPPASTFunctionDefinition fdef= (ICPPASTFunctionDefinition) parent; + IBinding method= fdef.getDeclarator().getName().resolveBinding(); + if (method instanceof ICPPMethod) { + ICPPClassType cls= ((ICPPMethod) method).getClassOwner(); + for (ICPPBase base : cls.getBases()) { + result.put(base.getBaseClassSpecifierName().getSimpleID()); + } + return result; + } } } return result; From c3dbd2cb912fe4ce51efc1226f589dd3943b2671 Mon Sep 17 00:00:00 2001 From: Alena Laskavaia Date: Tue, 5 Jul 2011 21:55:40 -0400 Subject: [PATCH 47/52] Bug 351157 - Codan Source Plugin has incorrect Bundle-Name / Bundle-Vendor --- codan/org.eclipse.cdt.codan.checkers.ui/build.properties | 2 +- codan/org.eclipse.cdt.codan.checkers/build.properties | 2 +- codan/org.eclipse.cdt.codan.core.cxx/build.properties | 4 ++-- codan/org.eclipse.cdt.codan.core/build.properties | 5 ++--- codan/org.eclipse.cdt.codan.examples/build.properties | 4 ++-- codan/org.eclipse.cdt.codan.ui.cxx/build.properties | 4 ++-- codan/org.eclipse.cdt.codan.ui/build.properties | 4 ++-- 7 files changed, 12 insertions(+), 13 deletions(-) diff --git a/codan/org.eclipse.cdt.codan.checkers.ui/build.properties b/codan/org.eclipse.cdt.codan.checkers.ui/build.properties index 01ca12f04bf..78e3795e449 100644 --- a/codan/org.eclipse.cdt.codan.checkers.ui/build.properties +++ b/codan/org.eclipse.cdt.codan.checkers.ui/build.properties @@ -14,6 +14,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ - OSGI-INF/l10n/bundle.properties,\ + OSGI-INF/,\ about.html src.includes = about.html diff --git a/codan/org.eclipse.cdt.codan.checkers/build.properties b/codan/org.eclipse.cdt.codan.checkers/build.properties index 01ca12f04bf..78e3795e449 100644 --- a/codan/org.eclipse.cdt.codan.checkers/build.properties +++ b/codan/org.eclipse.cdt.codan.checkers/build.properties @@ -14,6 +14,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ - OSGI-INF/l10n/bundle.properties,\ + OSGI-INF/,\ about.html src.includes = about.html diff --git a/codan/org.eclipse.cdt.codan.core.cxx/build.properties b/codan/org.eclipse.cdt.codan.core.cxx/build.properties index 42a123d9004..f8b499eb859 100644 --- a/codan/org.eclipse.cdt.codan.core.cxx/build.properties +++ b/codan/org.eclipse.cdt.codan.core.cxx/build.properties @@ -13,6 +13,6 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ .,\ - OSGI-INF/l10n/bundle.properties,\ - about.html + about.html,\ + OSGI-INF/ src.includes = about.html diff --git a/codan/org.eclipse.cdt.codan.core/build.properties b/codan/org.eclipse.cdt.codan.core/build.properties index 69cdcd62955..52685cd96fc 100644 --- a/codan/org.eclipse.cdt.codan.core/build.properties +++ b/codan/org.eclipse.cdt.codan.core/build.properties @@ -15,8 +15,7 @@ bin.includes = META-INF/,\ .,\ plugin.xml,\ schema/,\ - OSGI-INF/l10n/bundle.properties,\ about.html,\ OSGI-INF/ -src.includes = schema/,\ - about.html +src.includes = about.html,\ + schema/ diff --git a/codan/org.eclipse.cdt.codan.examples/build.properties b/codan/org.eclipse.cdt.codan.examples/build.properties index 844e3b5dddf..321f23f379e 100644 --- a/codan/org.eclipse.cdt.codan.examples/build.properties +++ b/codan/org.eclipse.cdt.codan.examples/build.properties @@ -14,6 +14,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ - OSGI-INF/l10n/bundle.properties,\ - about.html + about.html,\ + OSGI-INF/ src.includes = about.html diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/build.properties b/codan/org.eclipse.cdt.codan.ui.cxx/build.properties index 844e3b5dddf..321f23f379e 100644 --- a/codan/org.eclipse.cdt.codan.ui.cxx/build.properties +++ b/codan/org.eclipse.cdt.codan.ui.cxx/build.properties @@ -14,6 +14,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ - OSGI-INF/l10n/bundle.properties,\ - about.html + about.html,\ + OSGI-INF/ src.includes = about.html diff --git a/codan/org.eclipse.cdt.codan.ui/build.properties b/codan/org.eclipse.cdt.codan.ui/build.properties index 84d3f45643d..7d208c6bb49 100644 --- a/codan/org.eclipse.cdt.codan.ui/build.properties +++ b/codan/org.eclipse.cdt.codan.ui/build.properties @@ -14,8 +14,8 @@ output.. = bin/ bin.includes = plugin.xml,\ META-INF/,\ .,\ - OSGI-INF/l10n/bundle.properties,\ schema/,\ icons/,\ - about.html + about.html,\ + OSGI-INF/ src.includes = about.html From 82a3d0c2809615e92303ce430ada5f5840ef9333 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Wed, 6 Jul 2011 08:17:33 +0200 Subject: [PATCH 48/52] Bug 351228: Attributes at end of using directive. --- .../cdt/core/parser/tests/ast2/AST2CPPTests.java | 12 ++++++++++++ .../core/dom/parser/cpp/GNUCPPSourceParser.java | 2 ++ 2 files changed, 14 insertions(+) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java index c017eb25d00..ff63b87b7cd 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java @@ -5327,6 +5327,18 @@ public class AST2CPPTests extends AST2BaseTest { parse( getAboveComment(), ParserLanguage.CPP, true, true ); } + // namespace outer { + // namespace inner { + // class foo{}; + // } + // using namespace inner __attribute__((__strong__)); + // } + // outer::foo x; + // outer::inner::foo y; + public void testAttributeInUsingDirective_351228() throws Exception { + parseAndCheckBindings(); + } + // class C { // public: // int i; diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java index 9eb9ba28a45..2d13fb9e1e4 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java @@ -1859,6 +1859,8 @@ public class GNUCPPSourceParser extends AbstractGNUSourceCodeParser { throwBacktrack(offset, endOffset - offset); } + __attribute__(); + switch (LT(1)) { case IToken.tSEMI: case IToken.tEOC: From 3b6f6642b801502b9c6125aec81bcc82213014c6 Mon Sep 17 00:00:00 2001 From: Anton Gorenkov Date: Wed, 6 Jul 2011 02:12:45 -0400 Subject: [PATCH 49/52] Bug 339795 - [checker] Checker that finds class members that are not initialized in constructor --- .../OSGI-INF/l10n/bundle.properties | 6 +- .../org.eclipse.cdt.codan.checkers/plugin.xml | 14 + .../internal/checkers/CheckersMessages.java | 3 +- .../checkers/CheckersMessages.properties | 3 +- .../ClassMembersInitializationChecker.java | 222 ++++++++ ...ClassMembersInitializationCheckerTest.java | 480 ++++++++++++++++++ .../core/test/AutomatedIntegrationSuite.java | 2 + 7 files changed, 727 insertions(+), 3 deletions(-) create mode 100644 codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ClassMembersInitializationChecker.java create mode 100644 codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java diff --git a/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties index a59ba9ebebb..3d003daed30 100644 --- a/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties +++ b/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2010 Alena Laskavaia and others. +# Copyright (c) 2010, 2011 Alena Laskavaia and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at @@ -111,6 +111,10 @@ checker.name.AbstractClassCreation = Abstract class cannot be instantiated problem.name.AbstractClassCreation = Abstract class cannot be instantiated problem.messagePattern.AbstractClassCreation = The type ''{0}'' must implement the inherited pure virtual method ''{1}'' problem.description.AbstractClassCreation = All inherited pure virtual methods must be implemented to allow instantiation of the class +checker.name.ClassMembersInitialization = Class members should be properly initialized +problem.name.ClassMembersInitialization = Class members should be properly initialized +problem.messagePattern.ClassMembersInitialization = Member ''{0}'' was not initialized in this constructor +problem.description.ClassMembersInitialization = Class members should be properly initialized to avoid random behavior checker.name.UnusedSymbolInFileScopeChecker = Unused symbols and declarations in file scope problem.description.UnusedVariableDeclarationProblem = Finds unused global variable declarations in file scope diff --git a/codan/org.eclipse.cdt.codan.checkers/plugin.xml b/codan/org.eclipse.cdt.codan.checkers/plugin.xml index b8e6b7f9150..0f3f1c76678 100644 --- a/codan/org.eclipse.cdt.codan.checkers/plugin.xml +++ b/codan/org.eclipse.cdt.codan.checkers/plugin.xml @@ -384,5 +384,19 @@ name="%problem.name.UnusedStaticFunctionProblem"> + + + + diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.java index ee770a93c81..8a4ad7e6877 100644 --- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.java +++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009,2010 Alena Laskavaia + * Copyright (c) 2009, 2011 Alena Laskavaia * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -20,6 +20,7 @@ public class CheckersMessages extends NLS { public static String CaseBreakChecker_EmptyCaseDescription; public static String CaseBreakChecker_LastCaseDescription; public static String CatchByReference_ReportForUnknownType; + public static String ClassMembersInitializationChecker_SkipConstructorsWithFCalls; public static String NamingConventionFunctionChecker_LabelNamePattern; public static String NamingConventionFunctionChecker_ParameterMethods; public static String ReturnChecker_Param0; diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.properties b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.properties index 2aefeb03335..b219b977cff 100644 --- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.properties +++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2010 Alena Laskavaia and others. +# Copyright (c) 2010, 2011 Alena Laskavaia and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at @@ -11,6 +11,7 @@ CaseBreakChecker_DefaultNoBreakCommentDescription=Comment text to suppress the problem (regular expression): CaseBreakChecker_EmptyCaseDescription=Check also empty case statement (except if last) CaseBreakChecker_LastCaseDescription=Check also the last case statement +ClassMembersInitializationChecker_SkipConstructorsWithFCalls=Skip constructors with initialization function calls CatchByReference_ReportForUnknownType=Report a problem if type cannot be resolved NamingConventionFunctionChecker_LabelNamePattern=Name Pattern NamingConventionFunctionChecker_ParameterMethods=Also check C++ method names diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ClassMembersInitializationChecker.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ClassMembersInitializationChecker.java new file mode 100644 index 00000000000..c0d16049b3c --- /dev/null +++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/ClassMembersInitializationChecker.java @@ -0,0 +1,222 @@ +/******************************************************************************* + * Copyright (c) 2011 Anton Gorenkov + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Anton Gorenkov - initial implementation + *******************************************************************************/ +package org.eclipse.cdt.codan.internal.checkers; + +import java.util.Stack; +import java.util.HashSet; +import java.util.Set; + +import org.eclipse.cdt.codan.core.cxx.model.AbstractIndexAstChecker; +import org.eclipse.cdt.codan.core.model.IProblemWorkingCopy; +import org.eclipse.cdt.core.dom.ast.ASTVisitor; +import org.eclipse.cdt.core.dom.ast.IASTDeclaration; +import org.eclipse.cdt.core.dom.ast.IASTExpression; +import org.eclipse.cdt.core.dom.ast.IASTFunctionCallExpression; +import org.eclipse.cdt.core.dom.ast.IASTIdExpression; +import org.eclipse.cdt.core.dom.ast.IASTInitializerClause; +import org.eclipse.cdt.core.dom.ast.IASTLiteralExpression; +import org.eclipse.cdt.core.dom.ast.IASTName; +import org.eclipse.cdt.core.dom.ast.IASTNode; +import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit; +import org.eclipse.cdt.core.dom.ast.IBasicType; +import org.eclipse.cdt.core.dom.ast.IBinding; +import org.eclipse.cdt.core.dom.ast.ICompositeType; +import org.eclipse.cdt.core.dom.ast.IEnumeration; +import org.eclipse.cdt.core.dom.ast.IField; +import org.eclipse.cdt.core.dom.ast.IPointerType; +import org.eclipse.cdt.core.dom.ast.IType; +import org.eclipse.cdt.core.dom.ast.ITypedef; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFunctionDefinition; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTUnaryExpression; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPClassType; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPConstructor; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPFunction; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPMethod; +import org.eclipse.cdt.core.dom.ast.cpp.ICPPReferenceType; +import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVariableReadWriteFlags; +import org.eclipse.cdt.internal.core.pdom.dom.PDOMName; + +/** + * Checks that class members of simple types (int, float, pointers, + * enumeration types, ...) are properly initialized in constructor. + * Not initialized members may cause to unstable or random behavior + * of methods that are working with their value. + * + * @author Anton Gorenkov + * + */ +public class ClassMembersInitializationChecker extends AbstractIndexAstChecker { + public static final String ER_ID = "org.eclipse.cdt.codan.internal.checkers.ClassMembersInitialization"; //$NON-NLS-1$ + public static final String PARAM_SKIP = "skip"; //$NON-NLS-1$ + + public void processAst(IASTTranslationUnit ast) { + ast.accept(new OnEachClass()); + } + + class OnEachClass extends ASTVisitor { + + // NOTE: Classes can be nested and even can be declared in constructors of the other classes + private Stack< Set > constructorsStack = new Stack< Set >(); + + OnEachClass() { + shouldVisitDeclarations = true; + shouldVisitNames = true; + shouldVisitExpressions = skipConstructorsWithFCalls(); + } + + public int visit(IASTDeclaration declaration) { + ICPPConstructor constructor = getConstructor(declaration); + if (constructor != null) { + Set fieldsInConstructor = constructorsStack.push(new HashSet()); + + // Add all class fields + for (IField field : constructor.getClassOwner().getDeclaredFields()) { + if (isSimpleType(field.getType()) && !field.isStatic()) { + fieldsInConstructor.add(field); + } + } + } + return PROCESS_CONTINUE; + } + + public int leave(IASTDeclaration declaration) { + if (getConstructor(declaration) != null) { + for (IField field : constructorsStack.pop()) { + reportProblem(ER_ID, declaration, field.getName()); + } + } + return PROCESS_CONTINUE; + } + + public int visit(IASTExpression expression) { + if (!constructorsStack.empty() && expression instanceof IASTFunctionCallExpression) { + Set actualContructorFields = constructorsStack.peek(); + if (!actualContructorFields.isEmpty()) { + boolean skipCurrentConstructor = false; + IASTFunctionCallExpression fCall = (IASTFunctionCallExpression)expression; + IASTExpression fNameExp = fCall.getFunctionNameExpression(); + if (fNameExp instanceof IASTIdExpression) { + IASTIdExpression fName = (IASTIdExpression)fNameExp; + IBinding fBinding = fName.getName().resolveBinding(); + if (fBinding instanceof ICPPMethod) { + ICPPMethod method = (ICPPMethod)fBinding; + ICompositeType constructorOwner = actualContructorFields.iterator().next().getCompositeTypeOwner(); + if (constructorOwner == method.getClassOwner() && !method.getType().isConst()) { + skipCurrentConstructor = true; + } + } else if (fBinding instanceof ICPPFunction) { + for (IASTInitializerClause argument : fCall.getArguments()) { + if (referencesThis(argument)) { + skipCurrentConstructor = true; + break; + } + } + } + } + if (skipCurrentConstructor) { + constructorsStack.peek().clear(); + } + } + } + return PROCESS_CONTINUE; + } + + /** Checks whether expression references this (directly, by pointer or by reference) + * + */ + public boolean referencesThis(IASTNode expr) { + if (expr instanceof IASTLiteralExpression) { + IASTLiteralExpression litArg = (IASTLiteralExpression)expr; + if (litArg.getKind() == IASTLiteralExpression.lk_this) { + return true; + } + } else if (expr instanceof ICPPASTUnaryExpression) { + ICPPASTUnaryExpression unExpr = (ICPPASTUnaryExpression)expr; + switch (unExpr.getOperator()) { + case ICPPASTUnaryExpression.op_amper: + case ICPPASTUnaryExpression.op_star: + case ICPPASTUnaryExpression.op_bracketedPrimary: + return referencesThis(unExpr.getOperand()); + } + } + return false; + } + + public int visit(IASTName name) { + if (!constructorsStack.empty()) { + Set actualContructorFields = constructorsStack.peek(); + if (!actualContructorFields.isEmpty()) { + IBinding binding = name.resolveBinding(); + if (actualContructorFields.contains(binding)) { + if ((CPPVariableReadWriteFlags.getReadWriteFlags(name) & PDOMName.WRITE_ACCESS) != 0) { + actualContructorFields.remove(binding); + } + } + } + } + return PROCESS_CONTINUE; + } + + /** Checks whether class member of the specified type should be initialized + * + * @param type Type to check + * @return true if type is: + * - basic type (int, float, ...) + * - pointer + * - enum + * - reference (should be initialized in initialization list) + * - typedef to the another native type. + * + * @note: Not supported types (but maybe should be): + * - array + * - union + * - unknown type (need user preference?) + * - template parameter (need user preference?) + */ + private boolean isSimpleType(IType type) { + return (type instanceof IBasicType || + type instanceof IPointerType || + type instanceof IEnumeration || + type instanceof ICPPReferenceType || + (type instanceof ITypedef && isSimpleType( ((ITypedef)type).getType()) ) ); + } + + /** Checks that specified declaration is a class constructor + * (it is a class member and its name is equal to class name) + */ + private ICPPConstructor getConstructor(IASTDeclaration decl) { + if (decl instanceof ICPPASTFunctionDefinition) { + ICPPASTFunctionDefinition functionDefinition = (ICPPASTFunctionDefinition)decl; + IBinding binding = functionDefinition.getDeclarator().getName().resolveBinding(); + if (binding instanceof ICPPConstructor) { + ICPPConstructor constructor = (ICPPConstructor) binding; + if (constructor.getClassOwner().getKey()!=ICPPClassType.k_union) { + return constructor; + } + } + } + + return null; + } + + } + + @Override + public void initPreferences(IProblemWorkingCopy problem) { + super.initPreferences(problem); + addPreference(problem, PARAM_SKIP, CheckersMessages.ClassMembersInitializationChecker_SkipConstructorsWithFCalls, Boolean.TRUE); + } + + public boolean skipConstructorsWithFCalls() { + return (Boolean) getPreference(getProblemById(ER_ID, getFile()), PARAM_SKIP); + } + +} diff --git a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java new file mode 100644 index 00000000000..a0b261b1db6 --- /dev/null +++ b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java @@ -0,0 +1,480 @@ +/******************************************************************************* + * Copyright (c) 2011 Anton Gorenkov + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Anton Gorenkov - initial implementation + *******************************************************************************/ +package org.eclipse.cdt.codan.core.internal.checkers; + +import org.eclipse.cdt.codan.core.test.CheckerTestCase; +import org.eclipse.cdt.codan.internal.checkers.ClassMembersInitializationChecker; + +/** + * Test for {@see ClassMembersInitializationChecker} class + * + */ +public class ClassMembersInitializationCheckerTest extends CheckerTestCase { + @Override + public boolean isCpp() { + return true; + } + + @Override + public void setUp() throws Exception { + super.setUp(); + enableProblems(ClassMembersInitializationChecker.ER_ID); + } + + private void disableSkipConstructorsWithFCalls() { + setPreferenceValue(ClassMembersInitializationChecker.ER_ID, ClassMembersInitializationChecker.PARAM_SKIP, false); + } + + public void checkMultiErrorsOnLine(int line, int count) { + for (int i = 0; i < count; ++i) { + checkErrorLine(line); + } + assertEquals(count, markers.length); + } + + // class C { + // int m; + // C() : m(0) {} // No warnings. + // }; + public void testInitializationListShouldBeChecked() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // class C { + // int m; + // C() { m = 0; } // No warnings. + // }; + public void testAssignmentsInContructorShouldBeChecked() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // class C { + // int m; + // unsigned int ui; + // float f; + // double d; + // bool b; + // char c; + // long l; + // C() {} // 7 warnings for: m, ui, f, d, b, c, l. + // }; + public void testBasicTypesShouldBeInitialized() { + loadCodeAndRun(getAboveComment()); + checkMultiErrorsOnLine(9, 7); + } + + // class Value {}; + // class C { + // int* i; + // Value* v; + // C() {} // 2 warnings for: i, v. + // } + public void testPointersShouldBeInitialized() { + loadCodeAndRun(getAboveComment()); + checkMultiErrorsOnLine(5, 2); + } + + // class Value {}; + // class C { + // int& i; + // Value& v; + // C() {} // 2 warnings for: i, v. + // } + public void testReferencesShouldBeInitialized() { + loadCodeAndRun(getAboveComment()); + checkMultiErrorsOnLine(5, 2); + } + + // enum Enum { v1, v2 }; + // class C { + // Enum e; + // C() {} // 1 warning for: e. + // } + public void testEnumsShouldBeInitialized() { + loadCodeAndRun(getAboveComment()); + checkMultiErrorsOnLine(4, 1); + } + + // enum Enum { v1, v2 }; + // class Value {}; + // typedef int IntTypedef; + // typedef int* IntPtrTypedef; + // typedef int& IntRefTypedef; + // typedef Enum EnumTypedef; + // typedef Value ValueTypedef; + // class C { + // IntTypedef i; + // IntPtrTypedef ip; + // IntRefTypedef ir; + // EnumTypedef e; + // ValueTypedef v; + // C() {} // 5 warnings for: i, ip, ir, e. + // } + public void testTypedefsShouldBeInitialized() { + loadCodeAndRun(getAboveComment()); + checkMultiErrorsOnLine(14, 4); + } + + // class C { + // C() : i1(0) {} // 1 warning for: i2. + // C(int) : i2(0) {} // 1 warning for: i1. + // int i1, i2; + // }; + public void testAFewConstructorsHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(2, 3); + } + + // template + // class C { + // C() : i1(0), t1(T1()) {} // 1 warning for: i2. + // int i1, i2; + // T1 t1; + // T2 t2; + // }; + public void testTemplateClassHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(3); + } + + // class C { + // template + // C() : i1(0) {} // 1 warning for: i2. + // int i1, i2; + // }; + public void testTemplateConstructorHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(3); + } + + // class C { + // C(); // No warnings. + // int i; + // }; + public void testTemplateConstructorDeclarationOnlyHandling() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // class C { + // C(); + // int i1, i2; + // }; + // C::C() : i1(0) {} // 1 warning for: i2. + public void testExternalContructorHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(5); + } + + // template + // class C { + // C(); + // int i1, i2; + // T1 t1; + // T2 t2; + // }; + // C::C() : i1(0), t1(T1()) {} // 1 warning for: i2. + public void testExternalContructorOfTemplateClassHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(8); + } + + // class C { + // template + // C(); + // int i1, i2; + // }; + // template + // C::C() : i1(0) {} // 1 warning for: i2. + public void testExternalTemplateContructorHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(7); + } + + // template + // class C { + // template + // C(); + // int i1, i2; + // T1 t1; + // T2 t2; + // }; + // template + // template + // C::C() : i1(0), t1(T1()) {} // 1 warning for: i2. + public void testExternalTemplateContructorOfTemplateClassHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(11); + } + + // class C { + // class NestedC { + // NestedC() : i(0) {} // No warnings. + // int i; + // }; + // C() {} // 1 warning for: i. + // int i; + // }; + public void testNestedClassesHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(6); + } + + // class C { + // C() // 1 warning for: i. + // { + // class NestedC { + // NestedC() { i = 0; } // No warnings. + // int i; + // }; + // } + // int i; + // }; + public void testNestedClassInConstructorHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(2); + } + + // class C { + // C(); + // int i; + // }; + // + // C::C() // 1 warning for: i. + // { + // class NestedC { // No warnings. + // NestedC() { i = 0; } + // int i; + // }; + // } + public void testNestedClassInExternalConstructorHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(6); + } + + // class C { + // C() // 1 warning for: i. + // { + // class NestedC { + // NestedC() { i = 0; } // No warnings. + // void C() { i = 0; } // No warnings. + // int i; + // }; + // } + // int i; + // }; + public void testNestedClassWithMethodNamedAsAnotherClassHandling() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(2); + } + + // class C { + // C() {} // 1 warning for: i. + // int someFunction() { i = 0; } // No warnings. + // int i; + // }; + public void testAssignmentIsNotInConstructor() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(2); + } + + // class CBase { + // CBase() : i1(0) {} // No warnings. + // int i1; + // }; + // class CDerived : public CBase { + // CDerived() : i2(0) {} // No warnings. + // int i2; + // }; + public void testBaseClassMemberShouldNotBeTakenIntoAccount() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // class C { + // C() {} // No warnings. + // static int i1, i2; + // }; + // int C::i1 = 0; + // // NOTE: Static members are always initialized with 0, so there should not be warning on C::i2 + // int C::i2; + public void testNoErrorsOnStaticMembers() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // void func(int & a) { a = 0; } + // class C { + // C() { func(i); } // No warnings. + // int i; + // }; + public void testNoErrorsOnFunctionCallInitialization() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // void func(const int & a) {} + // class C { + // C() { func(i); } // 1 warning for: i. + // int i; + // }; + public void testNoErrorsOnReadingFunctionCall() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(3); + } + + // class C { + // C() { (i1) = 0; *&i2 = 0; } // No warnings. + // int i1, i2; + // }; + public void testNoErrorsOnComplexAssignment() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // class C { + // C() : i1(0) { // No warnings. + // i2 = i1; + // int someVar = 0; + // i3 = someVar; + // } + // int i1, i2, i3; + // }; + public void testNoErrorsOnChainInitialization() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // class A { protected: A(){} public: int a; }; // 1 warning for: a. + // class C: public A { + // C() { + // a = 1; + // } + // }; + public void testErrorOnProtectedConstructor() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(1); + } + + // struct S { + // int i; + // S() {} // 1 warning for: i. + // }; + public void testCheckStructs() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(3); + } + + // union U { + // int a; + // char b; + // U() { // No warnings. + // a=0; + // } + // }; + public void testSkipUnions() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // class C { + // int c; + // }; + public void testNoErrorsIfThereIsNoConstructorsDefined() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // class C { + // int i; + // C(bool b) { // No warnings. + // if (b) + // i = 0; + // // else - 'i' will be not initialized + // } + // }; + public void testNoErrorsIfMemberWasInitializedInOneOfTheIfBranch() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + // class A { + // int a; + // A(int a) { setA(a); } // No warnings. + // A() { getA(); } // 1 warning for: a. + // void setA(int a) { + // this->a = a; + // } + // int getA() const { + // return a; + // } + // }; + public void testUsingMethodsInConstructorWithPreference() { + loadCodeAndRun(getAboveComment()); + checkErrorLines(4); + } + + // class A; + // void initializeA1(A*); + // void initializeA2(A**); + // void initializeA3(A&); + // + // class A { + // int a; + // A() { initializeA1(this); } // No warnings. + // A(int a) { initializeA2(&this); } // No warnings. + // A(float a) { initializeA3(*this); } // No warnings. + // A(double a) { initializeA3(*(this)); } // No warnings. + // }; + public void testUsingConstMethodsInConstructorWithPreference() { + loadCodeAndRun(getAboveComment()); + checkNoErrors(); + } + + + // class A { + // int a; + // A(int a) { setA(a); } // 1 warning for: a. + // A() { getA(); } // 1 warning for: a. + // void setA(int a) { + // this->a = a; + // } + // int getA() const { + // return a; + // } + // }; + public void testUsingMethodsInConstructorWithoutPreference() { + disableSkipConstructorsWithFCalls(); + loadCodeAndRun(getAboveComment()); + checkErrorLines(3,4); + } + + // class A; + // void initializeA1(A*); + // void initializeA2(A**); + // void initializeA3(A&); + // + // class A { + // int a; + // A() { initializeA1(this); } // 1 warning for: a. + // A(int a) { initializeA2(&this); } // 1 warning for: a. + // A(float a) { initializeA3(*this); } // 1 warning for: a. + // A(double a) { initializeA3(*(this)); } // 1 warning for: a. + // }; + public void testUsingConstMethodsInConstructorWithoutPreference() { + disableSkipConstructorsWithFCalls(); + loadCodeAndRun(getAboveComment()); + checkErrorLines(8,9,10,11); + } + +} diff --git a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/test/AutomatedIntegrationSuite.java b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/test/AutomatedIntegrationSuite.java index 7958a4b8d17..b70376f252f 100644 --- a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/test/AutomatedIntegrationSuite.java +++ b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/test/AutomatedIntegrationSuite.java @@ -20,6 +20,7 @@ import org.eclipse.cdt.codan.core.internal.checkers.AssignmentInConditionChecker import org.eclipse.cdt.codan.core.internal.checkers.AssignmentToItselfCheckerTest; import org.eclipse.cdt.codan.core.internal.checkers.CaseBreakCheckerTest; import org.eclipse.cdt.codan.core.internal.checkers.CatchByReferenceTest; +import org.eclipse.cdt.codan.core.internal.checkers.ClassMembersInitializationCheckerTest; import org.eclipse.cdt.codan.core.internal.checkers.FormatStringCheckerTest; import org.eclipse.cdt.codan.core.internal.checkers.NonVirtualDestructorCheckerTest; import org.eclipse.cdt.codan.core.internal.checkers.ProblemBindingCheckerTest; @@ -56,6 +57,7 @@ public class AutomatedIntegrationSuite extends TestSuite { suite.addTestSuite(AssignmentToItselfCheckerTest.class); suite.addTestSuite(CaseBreakCheckerTest.class); suite.addTestSuite(CatchByReferenceTest.class); + suite.addTestSuite(ClassMembersInitializationCheckerTest.class); suite.addTestSuite(FormatStringCheckerTest.class); suite.addTestSuite(NonVirtualDestructorCheckerTest.class); suite.addTestSuite(ProblemBindingCheckerTest.class); From 1745485853105f403d5d08c95adfa760b414a503 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Wed, 6 Jul 2011 10:27:24 -0400 Subject: [PATCH 50/52] Turn on UI Harness for MBS core tests. --- build/org.eclipse.cdt.managedbuilder.core.tests/pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/pom.xml b/build/org.eclipse.cdt.managedbuilder.core.tests/pom.xml index b3b9f3c693a..80e995957c6 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/pom.xml +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/pom.xml @@ -22,7 +22,8 @@ tycho-surefire-plugin ${tycho-version} - false + + true -Xms256m -Xmx512m -XX:MaxPermSize=256M **/AllManagedBuildTests.* From d2bcf08835ea8f81e96fb04b7dffe90cbb4c595c Mon Sep 17 00:00:00 2001 From: Michael Lindo Date: Wed, 6 Jul 2011 15:17:15 -0400 Subject: [PATCH 51/52] Bug 350501 - add support in managed build projects for xlC v11 compiler options - minor fix --- xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties | 4 ++-- xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties index 1fba31745f5..415818f481e 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties @@ -276,12 +276,12 @@ Option.optimization.strict_induction = Strict induction Option.optimization.nostrict_induction = No induction Option.optimization.tocdata = Mark data as local Option.optimization.w = Specify options to pass to specific compiler components (-W) -Option.optimization.qassert = Provides information about the characteristics of the files that can help to fine-tune optimizations (-qassert=) +Option.optimization.qassert = Provide information about the characteristics of the files that can help to fine-tune optimizations (-qassert=) Option.optimization.qassert.norefalign = norefalign Option.optimization.qassert.refalign = refalign Option.optimization.qlibmpi = Assert that functions with MPI names are in fact MPI functions (-qlibmpi) Option.optimization.qsimd = Let the compiler automatically take advantage of vector instructions for processors that support them (-qsimd) -Option.optimization.qprefetch = Inserts prefetch instructions automatically where there are opportunities to improve code performance. (-qprefetch) +Option.optimization.qprefetch = Insert prefetch instructions automatically where there are opportunities to improve code performance (-qprefetch) # Linker Options Option.Linking.b = Control how shared objects are processed by the editor (-b) diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml index 9bf9b3ed318..edc348dc558 100644 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml +++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml @@ -3247,7 +3247,7 @@ @@ -3942,7 +3942,7 @@ description="%variableDescription" name="XL_compilerRoot" resolver="org.eclipse.cdt.managedbuilder.xlc.ui.variables.DynamicVariableResolver" - supportsArgument="false"> + supportsArgument="true"> From 8687aa726c482cc43ac137c5681ee2b69ed68d0c Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Thu, 7 Jul 2011 10:39:51 -0400 Subject: [PATCH 52/52] MBS core tests need the GNU tool definitions. --- .../META-INF/MANIFEST.MF | 1 + 1 file changed, 1 insertion(+) diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/META-INF/MANIFEST.MF b/build/org.eclipse.cdt.managedbuilder.core.tests/META-INF/MANIFEST.MF index 1c125cede93..9e1f0f53352 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/META-INF/MANIFEST.MF +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/META-INF/MANIFEST.MF @@ -18,6 +18,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.ui.ide, org.eclipse.cdt.core, org.eclipse.cdt.managedbuilder.core, + org.eclipse.cdt.managedbuilder.gnu.ui, org.eclipse.cdt.core.tests;bundle-version="5.0.0" Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: J2SE-1.5