Skip to main content
summaryrefslogtreecommitdiffstats
path: root/codan
diff options
context:
space:
mode:
Diffstat (limited to 'codan')
-rw-r--r--codan/org.eclipse.cdt.codan.checkers.ui/META-INF/MANIFEST.MF6
-rw-r--r--codan/org.eclipse.cdt.codan.checkers.ui/OSGI-INF/l10n/bundle.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.checkers.ui/build.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/META-INF/MANIFEST.MF4
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties37
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/build.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/plugin.xml68
-rw-r--r--codan/org.eclipse.cdt.codan.core.cxx/META-INF/MANIFEST.MF4
-rw-r--r--codan/org.eclipse.cdt.codan.core.cxx/OSGI-INF/l10n/bundle.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.core.cxx/build.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.core.test/META-INF/MANIFEST.MF9
-rw-r--r--codan/org.eclipse.cdt.codan.core.test/OSGI-INF/l10n/bundle.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.core.test/build.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.core/META-INF/MANIFEST.MF4
-rw-r--r--codan/org.eclipse.cdt.codan.core/OSGI-INF/l10n/bundle.properties9
-rw-r--r--codan/org.eclipse.cdt.codan.core/build.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.core/plugin.xml12
-rw-r--r--codan/org.eclipse.cdt.codan.examples/META-INF/MANIFEST.MF7
-rw-r--r--codan/org.eclipse.cdt.codan.examples/OSGI-INF/l10n/bundle.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.examples/build.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF2
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cxx/META-INF/MANIFEST.MF1
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cxx/OSGI-INF/l10n/bundle.properties3
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml2
-rw-r--r--codan/org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF1
25 files changed, 139 insertions, 60 deletions
diff --git a/codan/org.eclipse.cdt.codan.checkers.ui/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.checkers.ui/META-INF/MANIFEST.MF
index aa9d69e46a2..1aeed6b9cfc 100644
--- a/codan/org.eclipse.cdt.codan.checkers.ui/META-INF/MANIFEST.MF
+++ b/codan/org.eclipse.cdt.codan.checkers.ui/META-INF/MANIFEST.MF
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Codan Checkers Ui
+Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.eclipse.cdt.codan.checkers.ui;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.cdt.codan.internal.checkers.ui.CheckersUiActivator
@@ -12,4 +12,6 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.ui.ide
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-Vendor: Eclipse CDT
+Bundle-Vendor: %Bundle-Vendor
+Export-Package: org.eclipse.cdt.codan.internal.checkers.ui;x-internal:=true,
+ org.eclipse.cdt.codan.internal.checkers.ui.quickfix;x-internal:=true
diff --git a/codan/org.eclipse.cdt.codan.checkers.ui/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.checkers.ui/OSGI-INF/l10n/bundle.properties
new file mode 100644
index 00000000000..3be1dbbf43b
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.checkers.ui/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,3 @@
+#Properties file for org.eclipse.cdt.codan.checkers.ui
+Bundle-Vendor = Eclipse CDT
+Bundle-Name = Codan Checkers Ui \ No newline at end of file
diff --git a/codan/org.eclipse.cdt.codan.checkers.ui/build.properties b/codan/org.eclipse.cdt.codan.checkers.ui/build.properties
index 60150095638..5a5b4e42c36 100644
--- a/codan/org.eclipse.cdt.codan.checkers.ui/build.properties
+++ b/codan/org.eclipse.cdt.codan.checkers.ui/build.properties
@@ -3,4 +3,5 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml,\
-
+ OSGI-INF/l10n/bundle.properties
+
diff --git a/codan/org.eclipse.cdt.codan.checkers/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.checkers/META-INF/MANIFEST.MF
index c6640f43123..6d6406e39e6 100644
--- a/codan/org.eclipse.cdt.codan.checkers/META-INF/MANIFEST.MF
+++ b/codan/org.eclipse.cdt.codan.checkers/META-INF/MANIFEST.MF
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Codan Checkers
+Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.eclipse.cdt.codan.checkers;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.cdt.codan.checkers.CodanCheckersActivator
@@ -11,6 +11,6 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.cdt.codan.core.cxx;bundle-version="1.0.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-Vendor: Eclipse CDT
+Bundle-Vendor: %Bundle-Vendor
Export-Package: org.eclipse.cdt.codan.checkers,
org.eclipse.cdt.codan.internal.checkers;x-friends:="org.eclipse.cdt.codan.checkers.ui"
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
new file mode 100644
index 00000000000..1a50ce29872
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,37 @@
+#Properties file for org.eclipse.cdt.codan.checkers
+Bundle-Vendor = Eclipse CDT
+Bundle-Name = Codan Checkers
+checker.name.AssignmentInCondition = Assignment in condition
+problem.description.AssignmentInCondition = Finds statements like 'if (a=b)'
+problem.messagePattern.AssignmentInCondition = Possible assignment in condition ''{0}''
+problem.name.AssignmentInCondition = Assignment in condition
+checker.name.StatementHasNoEffect = StatementHasNoEffectChecker
+problem.description.StatementHasNoEffect = Finds statements like 'a;' or '-a;' or 'a-b;' which do no seems to have any side effect therefore suspicious
+problem.messagePattern.StatementHasNoEffect = Statement has no effect ''{0}''
+problem.name.StatementHasNoEffect = Statement has no effect
+checker.name.NonVirtualDescructor = NonVirtualDescructorChecker
+problem.description.NonVirtualDescructor = If destructor is not declared virtual - destructor of derived class would not be called.
+problem.messagePattern.NonVirtualDescructor = Class ''{0}'' has virtual method ''{1}'' but non-virtual destructor ''{2}''
+problem.name.NonVirtualDescructor = Class has a virtual method and non-virtual destructor
+checker.name.CatchByReference = CatchByReferenceChecker
+problem.description.CatchByReference = Catching by reference is recommended by C++ experts, "Throw by value, catch by reference". For one thing, this avoids copying and potentially slicing the exception.
+problem.messagePattern.CatchByReference = Catching by reference is recommended ''{0}''
+problem.name.CatchByReference = Catching by reference is recommended
+checker.name.SuggestedParenthesis = SuggestedParenthesisChecker
+problem.description.SuggestedParenthesis = This checker finds problems related to either lack of understanding precedence of operators or misspelling of operators in expression. For example (!a<10) or (a && b & c)
+problem.messagePattern.SuggestedParenthesis = Suggested parenthesis around expression ''{0}''
+problem.name.SuggestedParenthesis = Suggested parenthesis around expression
+checker.name.NamingConventionFunction = NamingConventionFunctionChecker
+problem.description.NamingConventionFunction = Finds and reports functions name of which does not match pattern parameter
+problem.messagePattern.NamingConventionFunction = Bad function name "{0}" (pattern /{1}/)
+problem.name.NamingConventionFunction = Name convention for function
+checker.name.ReturnChecker = Return inconsistencies
+problem.description.NoReturnValue = Return statment has no return value, if somebody would use return value from this function it would be random
+problem.messagePattern.NoReturnValue = Return without value, in function returning non-void
+problem.name.NoReturnValue = No return value
+problem.description.UnusedReturnValue = Return statement has a value, but function is declared to return void. Did you mean to declare function with return value?
+problem.messagePattern.UnusedReturnValue = Return has value, in function returning void
+problem.name.UnusedReturnValue = Unused return value
+problem.description.NoReturn = No return statement in a function which is declared to return value
+problem.messagePattern.NoReturn = No return, in function returning non-void
+problem.name.NoReturn = No return \ No newline at end of file
diff --git a/codan/org.eclipse.cdt.codan.checkers/build.properties b/codan/org.eclipse.cdt.codan.checkers/build.properties
index e9863e281ea..bbeeaf15779 100644
--- a/codan/org.eclipse.cdt.codan.checkers/build.properties
+++ b/codan/org.eclipse.cdt.codan.checkers/build.properties
@@ -2,4 +2,5 @@ source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
- plugin.xml
+ plugin.xml,\
+ OSGI-INF/l10n/bundle.properties
diff --git a/codan/org.eclipse.cdt.codan.checkers/plugin.xml b/codan/org.eclipse.cdt.codan.checkers/plugin.xml
index 607d62fe163..d206032ecaa 100644
--- a/codan/org.eclipse.cdt.codan.checkers/plugin.xml
+++ b/codan/org.eclipse.cdt.codan.checkers/plugin.xml
@@ -8,13 +8,13 @@
<checker
class="org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionChecker"
id="org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionChecker"
- name="Assignment in condition">
+ name="%checker.name.AssignmentInCondition">
<problem
defaultSeverity="Warning"
- description="Finds statements like &apos;if (a=b)&apos;"
+ description="%problem.description.AssignmentInCondition"
id="org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem"
- messagePattern="Possible assignment in condition &apos;&apos;{0}&apos;&apos;"
- name="Assignment in condition">
+ messagePattern="%problem.messagePattern.AssignmentInCondition"
+ name="%problem.name.AssignmentInCondition">
</problem>
@@ -22,101 +22,101 @@
<checker
class="org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectChecker"
id="org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectChecker"
- name="StatementHasNoEffectChecker">
+ name="%checker.name.StatementHasNoEffect">
<problem
category="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
defaultSeverity="Warning"
- description="Finds statements like &apos;a;&apos; or &apos;-a;&apos; or &apos;a-b;&apos; which do no seems to have any side effect therefore suspicious"
+ description="%problem.description.StatementHasNoEffect"
id="org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem"
- messagePattern="Statement has no effect ''{0}''"
- name="Statement has no effect"/>
+ messagePattern="%problem.messagePattern.StatementHasNoEffect"
+ name="%problem.name.StatementHasNoEffect"/>
</checker>
<checker
class="org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructor"
id="org.eclipse.cdt.codan.internal.checkers.NonVirtualDescructor"
- name="NonVirtualDescructorChecker">
+ name="%checker.name.NonVirtualDescructor">
<problem
category="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
defaultSeverity="Warning"
- description="If destructor is not declared virtual - destructor of derived class would not be called."
+ description="%problem.description.NonVirtualDescructor"
id="org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem"
- messagePattern="Class &apos;&apos;{0}&apos;&apos; has virtual method &apos;&apos;{1}&apos;&apos; but non-virtual destructor &apos;&apos;{2}&apos;&apos;"
- name="Class has a virtual method and non-virtual destructor">
+ messagePattern="%problem.messagePattern.NonVirtualDescructor"
+ name="%problem.name.NonVirtualDescructor">
</problem>
</checker>
<checker
class="org.eclipse.cdt.codan.internal.checkers.CatchByReference"
id="org.eclipse.cdt.codan.internal.checkers.CatchByReference"
- name="CatchByReferenceChecker">
+ name="%checker.name.CatchByReference">
<problem
category="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
defaultSeverity="Warning"
- description="Catching by reference is recommended by C++ experts, &quot;Throw by value, catch by reference&quot;. For one thing, this avoids copying and potentially slicing the exception."
+ description="%problem.description.CatchByReference"
id="org.eclipse.cdt.codan.internal.checkers.CatchByReference"
- name="Catching by reference is recommended"
- messagePattern="Catching by reference is recommended &apos;&apos;{0}&apos;&apos;">
+ name="%problem.name.CatchByReference"
+ messagePattern="%problem.messagePattern.CatchByReference">
</problem>
</checker>
<checker
class="org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisChecker"
id="org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisChecker"
- name="SuggestedParenthesisChecker">
+ name="%checker.name.SuggestedParenthesis">
<problem
category="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
defaultSeverity="Warning"
- description="This checker finds problems related to either lack of understanding precedence of operators or misspelling of operators in expression. For example (!a&lt;10) or (a &amp;&amp; b &amp; c)"
+ description="%problem.description.SuggestedParenthesis"
id="org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem"
- messagePattern="Suggested parenthesis around expression &apos;&apos;{0}&apos;&apos;"
- name="Suggested parenthesis around expression">
+ messagePattern="%problem.messagePattern.SuggestedParenthesis"
+ name="%problem.name.SuggestedParenthesis">
</problem>
</checker>
<checker
class="org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker"
id="org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker"
- name="NamingConventionFunctionChecker">
+ name="%checker.name.NamingConventionFunction">
<problem
category="org.eclipse.cdt.codan.core.categories.CodeStyle"
defaultEnabled="false"
defaultSeverity="Info"
- description="Finds and reports functions name of which does not match pattern parameter"
+ description="%problem.description.NamingConventionFunction"
id="org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker"
- messagePattern="Bad function name &quot;{0}&quot; (pattern /{1}/)"
- name="Name convention for function">
+ messagePattern="%problem.messagePattern.NamingConventionFunction"
+ name="%problem.name.NamingConventionFunction">
</problem>
</checker>
<checker
class="org.eclipse.cdt.codan.internal.checkers.ReturnChecker"
id="org.eclipse.cdt.codan.internal.checkers.ReturnChecker"
- name="Return inconsistencies">
+ name="%checker.name.ReturnChecker">
<problem
category="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
defaultEnabled="true"
defaultSeverity="Error"
- description="Return statment has no return value, if somebody would use return value from this function it would be random"
+ description="%problem.description.NoReturnValue"
id="org.eclipse.cdt.codan.checkers.noreturn"
- messagePattern="Return without value, in function returning non-void"
- name="No return value">
+ messagePattern="%problem.messagePattern.NoReturnValue"
+ name="%problem.name.NoReturnValue">
</problem>
<problem
category="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
defaultEnabled="true"
defaultSeverity="Error"
- description="Return statement has a value, but function is declared to return void. Did you mean to declare function with return value?"
+ description="%problem.description.UnusedReturnValue"
id="org.eclipse.cdt.codan.checkers.errreturnvalue"
- messagePattern="Return has value, in function returning void"
- name="Unused return value">
+ messagePattern="%problem.messagePattern.UnusedReturnValue"
+ name="%problem.name.UnusedReturnValue">
</problem>
<problem
category="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
defaultEnabled="true"
defaultSeverity="Warning"
- description="No return statement in a function which is declared to return value"
+ description="%problem.description.NoReturn"
id="org.eclipse.cdt.codan.checkers.errnoreturn"
- messagePattern="No return, in function returning non-void"
- name="No return">
+ messagePattern="%problem.messagePattern.NoReturn"
+ name="%problem.name.NoReturn">
</problem>
</checker>
diff --git a/codan/org.eclipse.cdt.codan.core.cxx/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.core.cxx/META-INF/MANIFEST.MF
index 61e4337d87d..7828ebd84a6 100644
--- a/codan/org.eclipse.cdt.codan.core.cxx/META-INF/MANIFEST.MF
+++ b/codan/org.eclipse.cdt.codan.core.cxx/META-INF/MANIFEST.MF
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Code Analysis Core for C/C++
+Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.eclipse.cdt.codan.core.cxx;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.cdt.codan.core.cxx.Activator
@@ -14,4 +14,4 @@ Export-Package: org.eclipse.cdt.codan.core.cxx,
org.eclipse.cdt.codan.core.cxx.internal.model.cfg;x-friends:="org.eclipse.cdt.codan.core.test",
org.eclipse.cdt.codan.core.cxx.model
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-Vendor: Eclipse CDT
+Bundle-Vendor: %Bundle-Vendor
diff --git a/codan/org.eclipse.cdt.codan.core.cxx/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.core.cxx/OSGI-INF/l10n/bundle.properties
new file mode 100644
index 00000000000..2b06d5cf1bd
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.core.cxx/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,3 @@
+#Properties file for org.eclipse.cdt.codan.core.cxx
+Bundle-Vendor = Eclipse CDT
+Bundle-Name = Code Analysis Core for C/C++ \ No newline at end of file
diff --git a/codan/org.eclipse.cdt.codan.core.cxx/build.properties b/codan/org.eclipse.cdt.codan.core.cxx/build.properties
index 34d2e4d2dad..ef93fc5167b 100644
--- a/codan/org.eclipse.cdt.codan.core.cxx/build.properties
+++ b/codan/org.eclipse.cdt.codan.core.cxx/build.properties
@@ -1,4 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .
+ .,\
+ OSGI-INF/l10n/bundle.properties
diff --git a/codan/org.eclipse.cdt.codan.core.test/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.core.test/META-INF/MANIFEST.MF
index 9ce0786a99d..e06510d06ba 100644
--- a/codan/org.eclipse.cdt.codan.core.test/META-INF/MANIFEST.MF
+++ b/codan/org.eclipse.cdt.codan.core.test/META-INF/MANIFEST.MF
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Codan Core Tests
+Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.eclipse.cdt.codan.core.test
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.cdt.codan.core.test.CodanCoreTestActivator
@@ -14,4 +14,9 @@ Require-Bundle: org.eclipse.core.runtime,
org.junit
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-Vendor: Eclipse CDT
+Bundle-Vendor: %Bundle-Vendor
+Export-Package: org.eclipse.cdt.codan.core.cfg,
+ org.eclipse.cdt.codan.core.cxx,
+ org.eclipse.cdt.codan.core.internal.checkers,
+ org.eclipse.cdt.codan.core.param,
+ org.eclipse.cdt.codan.core.test
diff --git a/codan/org.eclipse.cdt.codan.core.test/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.core.test/OSGI-INF/l10n/bundle.properties
new file mode 100644
index 00000000000..0f15e57d415
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.core.test/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,3 @@
+#Properties file for org.eclipse.cdt.codan.core.test
+Bundle-Name = Codan Core Tests
+Bundle-Vendor = Eclipse CDT \ No newline at end of file
diff --git a/codan/org.eclipse.cdt.codan.core.test/build.properties b/codan/org.eclipse.cdt.codan.core.test/build.properties
index 70d23e090b5..029ae1b3860 100644
--- a/codan/org.eclipse.cdt.codan.core.test/build.properties
+++ b/codan/org.eclipse.cdt.codan.core.test/build.properties
@@ -3,5 +3,6 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
src/,\
- test.xml
+ test.xml,\
+ OSGI-INF/
jre.compilation.profile = J2SE-1.5
diff --git a/codan/org.eclipse.cdt.codan.core/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.core/META-INF/MANIFEST.MF
index 19e8d1b062b..33aacc35dd8 100644
--- a/codan/org.eclipse.cdt.codan.core/META-INF/MANIFEST.MF
+++ b/codan/org.eclipse.cdt.codan.core/META-INF/MANIFEST.MF
@@ -1,10 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Code Analysis Core
+Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.eclipse.cdt.codan.core;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.cdt.codan.core.CodanCorePlugin
-Bundle-Vendor: Eclipse CDT
+Bundle-Vendor: %Bundle-Vendor
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.resources
Bundle-ActivationPolicy: lazy
diff --git a/codan/org.eclipse.cdt.codan.core/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.core/OSGI-INF/l10n/bundle.properties
new file mode 100644
index 00000000000..085a44ad4e8
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.core/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,9 @@
+#Properties file for org.eclipse.cdt.codan.core
+Bundle-Vendor = Eclipse CDT
+Bundle-Name = Code Analysis Core
+extension.name.Builder = Code Analysis Project Builder
+extension.name.Nature = Code Analysis Nature
+extension.name.Marker = Code Analysis Problem
+category.name.ProgrammingErrors = Potential programming problems
+category.name.CodeStyle = Coding Style
+extension-point.name.CodeAnalysis = Code Analysis Checkers \ No newline at end of file
diff --git a/codan/org.eclipse.cdt.codan.core/build.properties b/codan/org.eclipse.cdt.codan.core/build.properties
index 5952bfea885..674b2e57ace 100644
--- a/codan/org.eclipse.cdt.codan.core/build.properties
+++ b/codan/org.eclipse.cdt.codan.core/build.properties
@@ -3,5 +3,6 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml,\
- schema/
+ schema/,\
+ OSGI-INF/l10n/bundle.properties
src.includes = schema/
diff --git a/codan/org.eclipse.cdt.codan.core/plugin.xml b/codan/org.eclipse.cdt.codan.core/plugin.xml
index 3257042185e..1b051a34cf5 100644
--- a/codan/org.eclipse.cdt.codan.core/plugin.xml
+++ b/codan/org.eclipse.cdt.codan.core/plugin.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
- <extension-point id="checkers" name="Code Analysis Checkers" schema="schema/checkers.exsd"/>
+ <extension-point id="checkers" name="%extension-point.name.CodeAnalysis" schema="schema/checkers.exsd"/>
<extension
id="codanBuilder"
- name="Code Analysis Project Builder"
+ name="%extension.name.Builder"
point="org.eclipse.core.resources.builders">
<builder
hasNature="true">
@@ -16,7 +16,7 @@
</extension>
<extension
id="codanNature"
- name="Code Analysis Nature"
+ name="%extension.name.Nature"
point="org.eclipse.core.resources.natures">
<runtime>
<run
@@ -29,7 +29,7 @@
</extension>
<extension
id="codanProblem"
- name="Code Analysis Problem"
+ name="%extension.name.Marker"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.core.resources.problemmarker"/>
@@ -59,11 +59,11 @@
<category
id="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
- name="Potential programming problems"
+ name="%category.name.ProgrammingErrors"
/>
<category
id="org.eclipse.cdt.codan.core.categories.CodeStyle"
- name="Coding Style"
+ name="%category.name.CodeStyle"
>
</category>
</extension>
diff --git a/codan/org.eclipse.cdt.codan.examples/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.examples/META-INF/MANIFEST.MF
index d230e8e3dee..bbf70317270 100644
--- a/codan/org.eclipse.cdt.codan.examples/META-INF/MANIFEST.MF
+++ b/codan/org.eclipse.cdt.codan.examples/META-INF/MANIFEST.MF
@@ -1,10 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Code Analysis Checker Examples
+Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.eclipse.cdt.codan.examples;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.cdt.codan.examples.Activator
-Bundle-Vendor: Eclipse CDT
+Bundle-Vendor: %Bundle-Vendor
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.cdt.codan.core.cxx;bundle-version="1.0.0",
org.eclipse.cdt.codan.core;bundle-version="1.0.0",
@@ -13,3 +13,6 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.cdt.codan.ui;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
+Export-Package: org.eclipse.cdt.codan.examples,
+ org.eclipse.cdt.codan.examples.checkers,
+ org.eclipse.cdt.codan.examples.uicontrib
diff --git a/codan/org.eclipse.cdt.codan.examples/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.examples/OSGI-INF/l10n/bundle.properties
new file mode 100644
index 00000000000..87d46a5969b
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.examples/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,3 @@
+#Properties file for org.eclipse.cdt.codan.examples
+Bundle-Vendor = Eclipse CDT
+Bundle-Name = Code Analysis Checker Examples \ No newline at end of file
diff --git a/codan/org.eclipse.cdt.codan.examples/build.properties b/codan/org.eclipse.cdt.codan.examples/build.properties
index e9863e281ea..bbeeaf15779 100644
--- a/codan/org.eclipse.cdt.codan.examples/build.properties
+++ b/codan/org.eclipse.cdt.codan.examples/build.properties
@@ -2,4 +2,5 @@ source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
- plugin.xml
+ plugin.xml,\
+ OSGI-INF/l10n/bundle.properties
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF
index eb3c510d920..4671df836a0 100644
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF
+++ b/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF
@@ -15,3 +15,5 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.ui.editors;bundle-version="3.6.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
+Export-Package: org.eclipse.cdt.codan.ui.cfgview;x-internal:=true,
+ org.eclipse.cdt.codan.ui.cfgview.views;x-internal:=true
diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.ui.cxx/META-INF/MANIFEST.MF
index 3eb301b0eae..8f08b1e859c 100644
--- a/codan/org.eclipse.cdt.codan.ui.cxx/META-INF/MANIFEST.MF
+++ b/codan/org.eclipse.cdt.codan.ui.cxx/META-INF/MANIFEST.MF
@@ -17,3 +17,4 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.jface.text
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
+Export-Package: org.eclipse.cdt.codan.internal.ui.cxx;x-internal:=true
diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.ui.cxx/OSGI-INF/l10n/bundle.properties
index a209d46e405..939620fee89 100644
--- a/codan/org.eclipse.cdt.codan.ui.cxx/OSGI-INF/l10n/bundle.properties
+++ b/codan/org.eclipse.cdt.codan.ui.cxx/OSGI-INF/l10n/bundle.properties
@@ -1,4 +1,5 @@
#Properties file for org.eclipse.cdt.codan.ui.cxx
command.name = Run C/C++ Code Analysis
Bundle-Vendor = Eclipse CDT
-Bundle-Name = Codan Analysis UI for C/C++ \ No newline at end of file
+Bundle-Name = Codan Analysis UI for C/C++
+command.mnemonic = C \ No newline at end of file
diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml b/codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml
index 0a1b18e23cf..11bcb69075b 100644
--- a/codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml
+++ b/codan/org.eclipse.cdt.codan.ui.cxx/plugin.xml
@@ -16,7 +16,7 @@
commandId="org.eclipse.cdt.codan.commands.runCodanCommand"
id="org.eclipse.cdt.codan.ui.cxx.menus.runCodanCxxCommand"
label="%command.name"
- mnemonic="C">
+ mnemonic="%command.mnemonic">
<visibleWhen checkEnabled="false">
<iterate ifEmpty="false">
<adapt type="org.eclipse.core.resources.IResource">
diff --git a/codan/org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF
index aa9828031a8..7192ca687dc 100644
--- a/codan/org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF
+++ b/codan/org.eclipse.cdt.codan.ui/META-INF/MANIFEST.MF
@@ -22,6 +22,7 @@ Export-Package: org.eclipse.cdt.codan.internal.ui;x-friends:="org.eclipse.cdt.co
org.eclipse.cdt.codan.internal.ui.dialogs;x-friends:="org.eclipse.cdt.codan.ui.cxx",
org.eclipse.cdt.codan.internal.ui.preferences;x-friends:="org.eclipse.cdt.codan.ui.cxx",
org.eclipse.cdt.codan.internal.ui.views;x-internal:=true,
+ org.eclipse.cdt.codan.internal.ui.widgets;x-internal:=true,
org.eclipse.cdt.codan.ui,
org.eclipse.cdt.codan.ui.handlers

Back to the top