Alisson Linhares de Carvalho
9ba50a9462
Bug 486610 - Fixed a highlight problem in reportProblem method
...
Every time we report a problem in a declaration/expression that occupies more
than one line, the codan marks the entire line as a problem - including
everything before the node. This patch solves this inconvenient behavior.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=486610 for a complete
explanation.
Change-Id: I742cbaac8a1392676695d574355597b0cfc87385
Signed-off-by: Alisson Linhares de Carvalho <arescarv@gmail.com>
2016-02-23 16:59:59 -05:00
Sergey Prigogin
940975d7d7
Code cleanup in Codan tests.
...
Change-Id: Ib6fbc348ef175441029a17dd2129d95aaee3305f
2016-02-22 12:47:59 -08:00
Marc Khouzam
2ad68f7f80
Update copyright dates
...
Change-Id: I94ac38c37657e270f62db9bbd2859c2c6de40e5f
2016-02-11 01:50:14 -05:00
Marc Khouzam
766f66c0ab
Missing copyright header.
...
Copyright assigned to company of the committer
who did the first commit of the file.
Change-Id: Ia133694018c798f9558258810982f5276737a0b0
2016-02-01 12:47:41 -05:00
Marc Khouzam
b745736775
Incremented CDT features version to 9.0.0
...
This includes bumping the standalone debugger to 9.0.0
Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Alena Laskavaia
082dae21c3
codan - deprecating IProblemProfileChangeListener
...
deprecated IProblemProfileChangeListener in favor of eclipse preference
event listener mechanism
Change-Id: Ie89999f3baeed56a4c13f3ba70a92b59213ae43f
2016-01-11 21:47:57 -05:00
Alena Laskavaia
d310621847
Fixed codan example for pref change listener
...
Change-Id: I8693a4bdfd14a05ca077ec3357f82a2358bee07d
2016-01-11 21:47:56 -05:00
Alena Laskavaia
05daa126a0
Bug 383576 - Ability to ignore codan errors using line comments
...
Change-Id: I806e1787fb6cc3be8865cee1d397d581ae4acd8e
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-11 12:49:09 -05:00
Alena Laskavaia
1b0fe3a41e
Removed deprecated method in codan.core, bumped version to 4.0
...
Change-Id: I1290d5388b30bd6b48663652d50f4718164b979d
2016-01-08 07:51:04 -05:00
Alena Laskavaia
aa4f014a3a
fixing some comments
...
Change-Id: I020815ce6099d743067974a97b8b63539e408f15
2016-01-07 20:49:41 -05:00
Alena Laskavaia
d3e933501e
Bug 411579 - Add a "Create new class" Quick fix.
...
Change-Id: I57dc46f079357de7d5c281d016a25baa3f2154a6
2016-01-07 20:35:31 -05:00
Marc Khouzam
f3ff649041
Fix copyright of all CDT plugins using the copyright tool from platform.
...
This commit does not add missing copyrights, just updates the date on
the existing ones.
Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -05:00
Nathan Ridge
b0d66aa777
Fix an "unsafe method call" error.
...
Change-Id: I174b14358cdf4252dfb5293c4b86ecfe873fb845
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-29 15:13:24 -05:00
Nathan Ridge
59de5c303f
Bug 484619 - Make sure ProblemBindingChecker reports unresolved
...
user-defined literal operators
Change-Id: Idbb157c33b3aae06a00a10f7e7836e96db9f9b63
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 23:30:15 -05:00
Alena Laskavaia
5218c3caf9
cleanup of ControlFlowGraph view
...
Change-Id: Ic6be0eedc1e66867efda2b437181da081b2234c0
2015-12-18 07:59:19 -05:00
Nathan Ridge
5cd555717b
Bug 479638 - Cache the result of EvalBinding.isConstantExpression()
...
This helps avoid infinite recursion when a variable's initializer
references itself.
Change-Id: I4667536ebbefd2008afe9003617092a0a5693db0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 17:48:21 -05:00
Marc Khouzam
0cfb15135f
Remove reference to java environment in build.properties
...
Change-Id: I053158a23d2783879248320a84a9549e28cfb4d1
2015-09-29 08:57:47 -04:00
Alena Laskavaia
a288931a1b
Bug 471967: preference page does not show up - invalid values
...
Change-Id: I01f0ff56dd76ded66e5b22f53130e5d865440384
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-08-24 12:57:29 -04:00
Marc Khouzam
bb61124897
Incremented CDT feature version to 8.8.0
...
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Marc Khouzam
e820f872ad
Incremented CDT feature version to 8.7.0
...
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Sergey Prigogin
711ec8df95
Bug 461538 - "noreturn" attribute in destructor is not accounted for
...
Change-Id: Ia3c3bdfdb26ff18092fd20be02f178ebb71848bb
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-04-06 17:35:03 -04:00
Sergey Prigogin
94aa97e0b6
Cosmetics.
...
Change-Id: I473deba48684e751905fbfa487df6fe9146781c2
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-04-03 12:05:27 -07:00
Sergey Prigogin
bec85475fd
Reverted erroneous commits.
...
Change-Id: I7e914e27413f102d4b84c62f53f300c4ec5d23e8
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-04-03 13:37:47 -04:00
Sergey Prigogin
4d1b8a8e26
Cosmetics
2015-04-02 20:41:39 -07:00
Marc Khouzam
37890019cb
Remove warnings caused by change to getAdaptable()
...
getAdaptable() in 4.5 M6 has changed to use generics, making casting its
result no longer necessary.
Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:01:46 -04:00
Alena Laskavaia
535f49a7db
codan: added filter field in the problem configuration page
...
tree is getting very big. Added tree filter.
Change-Id: I49a0b059c794486178b2ba35bbe42b6131c34888
2015-03-23 15:47:04 -04:00
Alena Laskavaia
50775fe2fb
codan: encapsulated builder and added vm var to disable (for tests)
...
- refactored the code so client who run codan always go though builder
to call checkers
- added vm arg -Dcodan.disabled=true to be used mostly by junit to not
run codan at all
Change-Id: Ie85e20f23b6ded8fffe5064adc1f9193a6f9a146
2015-03-18 21:03:03 -04:00
Nathan Ridge
d755ace3cc
Bug 352407 - Change CharOperation.pathMatch() to take CharSequence's
...
instead of char arrays
Change-Id: Ic3cd197c6bafb1ad6d71ad7e3edcf076e844c58b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-09 10:35:03 -04:00
Nathan Ridge
5d2f7bcb56
Bug 352407 - Correctly compare resource path to pattern in codan
...
exclusion filter
Change-Id: Ic7f9740fa129bb5e05a6156f077af8a8c0d36e7b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-08 14:36:13 -04:00
Sergey Prigogin
ad308251da
Code streamlining.
2015-03-07 23:58:05 -08:00
Sergey Prigogin
7020c95a8b
Cosmetics.
2015-03-07 23:45:29 -08:00
Alena Laskavaia
acbd1e14f8
codan: example of CElement checker - external invoke
...
Change-Id: I0b88fb611372ffdbcceda3d0588c9fb65486cb03
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-06 15:38:59 -05:00
Alena Laskavaia
dd528c19b6
codan: added AbstractCElementChecker class
...
this allows to run on translation unit but without index locking
useful for externl tools
Change-Id: If0788eee7d322aa4cafb7985e0c8f742c31369ae
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-06 15:38:44 -05:00
Alena Laskavaia
7ecd20efa9
codan: refactored external tool invoke to be more useful
...
Change-Id: Ide621e5541febe8fda784605ef4d5e23476669d4
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-05 15:18:31 -05:00
Alena Laskavaia
82274d4060
added codan marker generator
...
its required for some cdt classes like console parsers
Change-Id: Ibde68774656a15c735dce08d5f3041dc56a7266f
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-05 09:19:54 -05:00
Alena Laskavaia
0966863ef7
updated codan examples
...
Change-Id: I30bf2da294ec613917ce0f836f61709b1af9b513
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-03-04 14:28:26 -05:00
Alena Laskavaia
a1b9cc4fbd
codan - tracing options for printing checker stats
...
Change-Id: Ia0d1be6fc6be6092ae4b1dac84dff24fb722b1d5
2015-03-04 14:27:39 -05:00
Alena Laskavaia
498bfb6509
converted codan test to use comment labels positioning
...
Change-Id: Ib389c90a8b10abac46399248f435428e27b6975b
2015-03-03 19:36:51 -05:00
Alena Laskavaia
de3c23df86
adjusted message for comment checker
...
Change-Id: I68e6bf14340e38c7c623b444870596ab917c0b40
2015-02-27 20:17:57 -05:00
Alena Laskavaia
396b946015
codan - checker for comments
...
implement few code style rules for comments
- no line comments (sometimes enforced)
- no nested comments (no /* in block comment)
Change-Id: Ib4042a8ffab0dc1c5effd7b77ab6d2f51a1e6cae
2015-02-25 20:19:39 -05:00
Alena Laskavaia
8968b8f2ca
codan - code cleanup
...
Change-Id: I25f1047b9b07388adeeab38ba7679ac3109280fb
2015-02-22 22:06:50 -05:00
Alena Laskavaia
32d1a28f49
codan tests - removed sleeps and made sure it runs in non-ui thread
...
Change-Id: Ic684e647ea43968c7da35e0f9448e01e66c06e8f
2015-02-21 22:07:10 -05:00
Alena Laskavaia
2fca26b8e5
codan tests - make use of comment tags in tests
...
Change-Id: I822ea36bfa49164b43954ae80bc9fd223ae8d0f6
2015-02-21 22:06:56 -05:00
Nathan Ridge
80c624f2c3
Bug 455828 - Don't be over-eager when collecting dead nodes in the
...
control flow graph
Change-Id: I54013e31a197c02698e3161f9f52755e4cb6b203
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-20 09:30:19 -05:00
Nathan Ridge
43097ce04e
Bug 455828 - Proper handling of 'switch' without explicit default
...
(including empty switch)
Change-Id: I3e20400f86c5e4273d8b0c62ed9ac3f429a84879
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-18 19:30:08 -05:00
Nathan Ridge
3586267e6b
Bug 455828 - Proper handling of 'break' inside compound statement in a
...
case of a switch
Change-Id: I73329a8769bc20a4fc4e017faad627e03adce9d9
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-18 19:08:59 -05:00
Alena Laskavaia
3cf5ec86ee
Bug 327375 control flow graph regression - dead connector nodes
...
basically for the code like
if (a) return 1; else return 2;
a++; // this should be a dead code node
but we don't check connector node of "if" and don't add
it to dead nodes graph resulting it this code not being marked as dead,
which can lead to false positives or false negatives for checkers that
use that. Same apply for other control statements...
Change-Id: Iafb4b48ca960f0ffab2c0265285a31cb08eb0d11
2015-02-18 16:42:59 -05:00
Nathan Ridge
d0ef9d1d82
Bug 455828 - General cleanup in ControlFlowGraphBuilder
...
Change-Id: I46cfe23fc10bed235d091afaec8eec29dd7d62ac
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-17 20:07:04 -05:00
Nathan Ridge
0221ee20b1
Bug 441714 - Consider spurious semicolons in CaseBreakChecker
...
Change-Id: Id4fe394164063007c45da37ae82cc730a9e726dd
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-16 01:48:37 -05:00
Nathan Ridge
155fa65c1c
Fix a typo in org.eclipse.cdt.codan.ui.cfgview/plugin.xml
...
Change-Id: I41aeb1195e9d8b663de396883e0aa6e4f3b5c6e4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-16 01:45:53 -05:00
Marc Khouzam
d266f8656e
Remove unnecessary .api_filters
...
Note that
memory/org.eclipse.cdt.debug.ui.memory.traditional/.settings/.api_filters
needs to be kept because:
1- it removes warnings about implementing provisional APIs
2- that plugin sets warnings as errors, so warnings are not allowed
Change-Id: Id4bcc9cd78c4c6678ef749cfe276e5a9945efa1e
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-11 15:48:32 -05:00
Marc-Andre Laperle
afd11359e6
Extract test VM args to common property base.test.vmargs
...
This makes it easier to change arguments for all tests. As a side-effect,
all tests now enable assertion (-ea) and have the same max heap size, etc.
Change-Id: I0965d40ba3283efe7eacdf927f6c302ee0ab30f0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-06 13:02:28 -05:00
Sergey Prigogin
252eaf4c0f
Incremented CDT feature version to 8.6.0.
...
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00
Alena Laskavaia
24d2e1a4c8
Bug 447486 - codan - CCE is thrown by control flow graph builder
...
- addOutgoing cannot join JumpNode - block will be added to dead list
instead
- addjusted goto code to not use addOutgoing but using setJump directly
- corrected code that doing fake return to deal jump nodes at the end
- corrected code that marks up dead code to remove jump targets
- corrected code that calculates all nodes in the graph to take into
account dangling labels
- fixed CFG viewer to show unconnected labeled statements
Change-Id: Ie4d9e37678e3ebaae8e9f268e6f37342e14a1444
Reviewed-on: https://git.eclipse.org/r/38189
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-12-14 13:09:13 -05:00
Nathan Ridge
517b811599
Bug 452325 - Protect against IVariable.getInitialValue() calling itself
...
recursively along any code path
Change-Id: Idbf46ca82b431e72bf6b2598427430c37ef65cc4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/37220
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-08 13:39:24 -05:00
Alena Laskavaia
863def95be
Bug 453275 - Codan tests cannot test for checkers throwing an exception
...
Added system flag that is used to propagate exception
instead of swallowing. Set by default in codan junit tests.
Change-Id: Iccda9a7b2e419192bb9f4eec4b89d525e152fc81
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/37482
2014-12-04 13:57:27 -05:00
Alena Laskavaia
0f49ec2015
Avoid ClassCastException in Codan Run job
...
Occasionally Run Code Analysis actions get text selection
instead of structured selection so it is failing and logging
CCE. Avoid this by non accepting other selections.
Change-Id: Ia3583755547e5251a057290e506184656ebf2d5a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/37306
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-02 19:38:08 -05:00
Alena Laskavaia
ac11501703
Bug 353352 - CFG doesn't handle range-based for loop
...
Change-Id: Ic4334ce82585d4dbfbbd008fd013b0ce97cca434
Reviewed-on: https://git.eclipse.org/r/33155
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-09-12 20:13:29 -04:00
Alena Laskavaia
d2f248dc70
Bug 353352 - CFG doesn't handle range-based for loop
...
Change-Id: Ic71c15d26d31d954fbc4c91882dd9361d9b23eae
2014-09-09 22:44:58 -04:00
Marc-Andre Laperle
97079f6ad0
Add missing arg for jacoco in in tests. Update jacoco.
...
Jacoco arguments are missing when executing certain tests. This happens when
argLine is being overriden. We had the same problem in Linux Tools. We solved
it by prepending the argLine with ${tycho.testArgLine}. This should help
improving the Code coverage metric in Sonar.
Also update the jacoco version to fix a bug when building with Java 8.
Change-Id: I7f73f40488efc01fc7d643940c1ac0d5950c900d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32507
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-08-28 15:40:26 -04:00
Doug Schaefer
3a81f65932
Bug 437392 - Added the Launch Targets View.
...
This view lists all launch targets that could appear in the Target
selector. It allows us to add context menus to them to perform
operations, such as opening a terminal view to the target. It will
also gives us a cleaner UI to add and remove targets
Change-Id: I538a204ce6f25fd017573c50585ac45cdeeaf554
Reviewed-on: https://git.eclipse.org/r/31856
Tested-by: Hudson CI
Reviewed-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-08-19 10:22:01 -04:00
Sergey Prigogin
d87c480f47
Proper reporting of unsupported statement types.
...
Change-Id: I4e4745bf7661329873107e8849f6200577756891
Reviewed-on: https://git.eclipse.org/r/31725
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-14 17:50:36 -04:00
Sergey Prigogin
21c0d0a2f8
Cosmetics.
2014-08-13 12:03:53 -07:00
Sergey Prigogin
d8154bd340
Inremented branding plugin version to 8.5
2014-07-21 17:39:01 -07:00
Alena Laskavaia
db43e03878
Bug 394521 Do Constant folding propagation when building CFG
...
When building control flow graph we can consider constants
and not add some branches in decisions nodes, that make CFG
more accurate and elimate some false positives
Change-Id: I19c623e1e6d2dc7416a0e796a98168df7a976111
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28726
2014-06-21 10:57:37 -04:00
Chris Marr
fcd66c7d04
Bug 433357 - Added fix for false positives from GNU
...
Statement-Expressions
Change-Id: I21eb9978a156f2375e5b9e1992c297e3b6ca78ac
Signed-off-by: Chris Marr <cdabone@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25600
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-06-19 16:51:14 -04:00
Alena Laskavaia
16037a5f38
Bug 350168 - Return checker won't report errors in dead code
...
Also Bug 356908, Bug 348386
Change-Id: I48d2f74e05d2d6d7a7bf0589408ca90bc07a6922
Reviewed-on: https://git.eclipse.org/r/28527
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-06-16 10:26:43 -04:00
Marc-Andre Laperle
1cc6d6ab8e
Build with 4.4 and use target definition file for maven build
...
Change-Id: I1044751c600e7725fd2cb02578c28d5f45de1854
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27631
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-06-03 11:52:57 -04:00
Sergey Prigogin
2e36f9b4ca
Added a TODO.
2014-04-22 17:19:16 -07:00
Sergey Prigogin
7f914e4a6a
Fixed a typo.
2014-04-22 17:17:19 -07:00
Sergey Prigogin
a94a29ae22
Fixed compiler warnings.
2014-04-11 16:15:40 -07:00
Marc Khouzam
0ddab334f0
Missing NON-NLS strings
...
Change-Id: Ia177b5ded46b3d6292af3e41951165c9d26b57cc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:31:42 -04:00
Marc Khouzam
b647093b94
Remove unused API filters
...
Change-Id: Ia3a53fec79973ccdec7d74d68fcc4f4621fe1cc7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:24:47 -04:00
Nathan Ridge
cff738fe0b
Bug 430282 - Limit recursion depth when processing inheritance
...
hierarchies
Change-Id: Ia9d9f379cb61e8d8bc8d1fb33f893fcd2a0688a2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23957
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-06 20:56:18 -04:00
Sergey Prigogin
dc19bb3b6b
Bug 431544 - UnsupportedOperationException in
...
ControlFlowGraphBuilder.build
Change-Id: I91fd0b4e1a816b80a4bbad5e7a8ee1f61f9862a9
Reviewed-on: https://git.eclipse.org/r/24214
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-31 13:52:52 -04:00
Sergey Prigogin
14bea54256
Cosmetics.
2014-03-31 10:44:07 -07:00
Marc-Andre Laperle
535ad23797
Fix intermittent test failures in codan
...
Sometimes, index-based checkers (AbstractIndexAstChecker) were skipped
because the indexer was not fully initialized so expected errors were
not getting reported.
Change-Id: Ibb764224f11ae4a867a4aa6b9de2b8ec55e90c55
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23428
Reviewed-by: Nathan Ridge <zeratul976@hotmail.com>
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-15 12:05:03 -04:00
Teodor Madan
ce1620f8cc
Bug 428725 - Severity selection from Coda Analyses preferences should
...
not allow not supported values.
Create ComboBoxCellEditor with SWT.READ_ONLY style
Change-Id: I5d1bbc94ffb6df17be092108c1e45133849cea3e
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/22363
Tested-by: Hudson CI
2014-02-23 15:45:37 -05:00
Sergey Prigogin
2186138b87
Bug 428041 - NPE in ReturnChecker
2014-02-12 13:03:02 -08:00
Sergey Prigogin
5d7a19fa6c
Enabled JDK 1.7.
...
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
1d166260a8
Bumped up CDT version to 8.4.
...
Change-Id: I1229344feaaed4a3551ceb7b1ef1410545048b55
Reviewed-on: https://git.eclipse.org/r/20908
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21 17:35:29 -05:00
Andrew Eidsness
2136875477
Bug 424160: null checks for CodanPreferencesLoader.getProjectNode
...
CodanPreferencesLoader.getProjectNode will sometimes return null. This
patch adds null checks before using the result.
Change-Id: If4dd70e6673d5da62cc0b8e899fb5066bdaa4bef
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/19873
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-17 17:17:59 -05:00
Nathan Ridge
c126fade3d
Bug 419938 - [fp] Pure virtual implementation not recognized if only one
...
path implements it
Change-Id: I90732a87d8d6b4ad2a84aa3c8b09b10727afa994
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19823
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-16 00:40:02 -05:00
Sergey Prigogin
ecf7d25dd9
Cosmetics.
2013-12-06 12:01:12 -08:00
Sergey Prigogin
fb08c843e9
Bug 400073 - Indexer runs out of memory.
...
An attempt to reduce memory consumption.
2013-12-05 19:47:34 -08:00
Sergey Prigogin
b52beeb11b
Cosmetics.
2013-12-05 18:29:13 -08:00
Nathan Ridge
08293b3f58
Bug 421900 - NPE in StatementHasNoEffectChecker.usesOverloadOperator()
...
Change-Id: I9099f3600cfdac492784087ef5993b353111eab8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/18468
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-11-30 22:57:04 -05:00
Sergey Prigogin
cc789a1979
Fixed an NPE during shutdown.
2013-10-09 09:37:03 -07:00
Nathan Ridge
62c4e62ff3
Bug 416284 - Unsafe method call, using nested templates
...
Change-Id: I08732af62f43c03f362d4602736ef6b8e0f227e9
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/16147
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-09-05 20:15:50 -04:00
Nathan Ridge
e9d295e1a6
Bug 380751 - Members of decltype types cannot be used
...
Change-Id: Ie6113d44647a222e063ab2ab27f3dc9d994f98fc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15451
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-09-05 20:01:24 -04:00
Sergey Prigogin
af5a14ac6d
Bug 390782 - NPE in AssignmentToItselfChecker$1.isAssignmentToItself
2013-08-28 13:51:59 -07:00
Andrew Gvozdev
652ce4748e
Fixed parent pom version to reference
2013-08-27 15:16:24 -04:00
Nathan Ridge
be4ec06f4b
Bug 414279 - Derived class method that overrides a base class method
...
brought into the derived scope with a using-declaration
Change-Id: Ibeb49dddb7ef3768ffd4964e22a139afba8690fb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15573
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-08-18 21:42:34 -04:00
Sergey Prigogin
983f7529a3
Bug 45203. Support for symbols exported by multiple headers.
2013-08-02 13:52:42 -07:00
Sergey Prigogin
d5f3272f20
Moved getPureVirtualMethods method to SemanticQueries.
2013-07-28 13:00:59 -07:00
Nathan Ridge
5fb92e3cf8
Bug 351612 - Pure virtual implementation not recognized if multiply
...
inherited
Change-Id: I1e9141fbb5cc72bb7b59b77d6faf958726094e5f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14906
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-28 15:35:20 -04:00
Nathan Ridge
156990d03e
Bug 352267 - Assignment in condition checker matches the whole
...
expression
Change-Id: I7aea1c5d404a8d374020e34c997e6e890fcdb3d6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14764
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-24 20:47:38 -04:00
Sergey Prigogin
bc98f57d9a
Cosmetics.
2013-07-21 21:39:18 -07:00
Nathan Ridge
e18ad3974c
Bug 358694 - False warning about Unused static function in template
...
Change-Id: I0ebeef9db921239e896983c68e5291316209c2d2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14680
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-19 12:54:15 -04:00
Nathan Ridge
82d19e7096
Bug 363884 - NPE using 'Add break statement' quick fix
...
Change-Id: I240b196d04b5f032bfaa9666db595b788b7a1d02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14640
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-18 13:18:19 -04:00
Nathan Ridge
55872baeae
Bug 393129 - Do not give "unused symbol" warning for file-scope variable
...
used in an asm block
Change-Id: I2088bed2dd26af1220069dbdf18fda17d32fdf21
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14608
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-17 13:25:26 -04:00
Sergey Prigogin
63b523f9be
Added missing copyright comments and cleaned up localizable messages.
2013-07-14 19:00:11 -07:00
Sergey Prigogin
95a6d00a08
Normalized dependencies.
2013-07-14 18:58:54 -07:00
Nathan Ridge
70c9a7b642
Bug 399146 - Bogus 'statement has no effect' warning for call to
...
overloaded operator
Change-Id: Ie2092903356e048d96b8507ce30ec2d3edc2b2f7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14534
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-14 15:08:54 -04:00
Nathan Ridge
c5b4670184
Bug 400673 - [c++11] Unnecessary warning in class constructor (not
...
initialized member) when using "in class member initialization"
Change-Id: I4e6af3b0927d44f0bb5417d7788fc9a026f8fb7c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14397
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-09 13:05:16 -04:00
Sergey Prigogin
c658e9df68
Cosmetics.
2013-07-07 17:17:03 -07:00
Nathan Ridge
44b957a28e
Bug 408303 - [C++11] Incorrect member not initialized warnings for
...
template class's defaulted constructors
Change-Id: I61064421c2cee405c9a915abe500c94fa4423eef
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14177
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-07 19:25:44 -04:00
Marc-Andre Laperle
718d7de48e
Bug 412057 - UI tests don't run on Mac Cocoa using Tycho build
...
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-07-03 21:02:43 -04:00
Sergey Prigogin
0cecd403cb
Fixed an NPE.
2013-06-21 17:10:14 -07:00
Sergey Prigogin
724e1991ac
Cosmetics.
2013-05-22 10:22:38 -07:00
Danny Ferreira
20e43a2744
Bug 402607 - [c++11] Invalid "member was not initialized warning" with
...
delegating constructors
Change-Id: I521918be7b8c1dd867b53bd22f7646e610651fb6
Reviewed-on: https://git.eclipse.org/r/13043
Reviewed-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-22 13:19:23 -04:00
axel
75e17131c0
Bug #368221
...
regression fix: enable navigation to the next/previous error in the
editor
Change-Id: Ie69f9a08f741b7b4b34a0c3f42ec4133a129c5ee
Reviewed-on: https://git.eclipse.org/r/12979
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-20 13:06:32 -04:00
axel
fb27a409fa
Bug #368221
...
Add CODAN markers to Preferences->General->Editors->Text
Editors->Annotations
Change-Id: I4ba5245306fb70a0f9d38235112b631bda36bb8f
Reviewed-on: https://git.eclipse.org/r/12511
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-03 17:02:20 -04:00
Sergey Prigogin
fa881229a6
Don't report unknown built-in functions as problems.
2013-04-03 17:36:17 -07:00
Sergey Prigogin
cc82847af6
Bug 404774 - Invalid implicit ctor call is not marked as error
2013-04-02 23:48:43 -07:00
Sergey Prigogin
96fbfd6f00
Enabled assertions during tests.
2013-02-05 10:07:41 -08:00
Sergey Prigogin
4346a7377f
Renamed few classes to distinguish tests from their base classes.
2013-01-23 11:36:51 -08:00
Sergey Prigogin
e4943b330a
Fixed broken test.
2013-01-05 12:36:54 -08:00
Sergey Prigogin
3b6247d7cf
Changed default preferences to not produce a warning for the last case
...
in a switch statement.
2013-01-02 14:13:07 -08:00
Marc-Andre Laperle
78f863bc01
Bug 396749 - Checker is not enabled if only one problem is selected
2013-01-01 16:38:26 -05:00
Sergey Prigogin
f7f56bb08e
Bug 397208 - Problem markers don't get updated when preferences change
2012-12-27 16:54:43 -08:00
Sergey Prigogin
1ff1f798d5
Cosmetics.
2012-12-27 14:16:36 -08:00
Nathan Ridge
032c010a82
Bug 395018 - False 'member was not initalized in this constructor'
...
warning for defaulted copy/move constructor
Change-Id: Ib7800e46174b195fd15daef923abfff482fd3aff
Reviewed-on: https://git.eclipse.org/r/9059
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-07 13:11:57 -05:00
Nathan Ridge
8cf540fbf6
Bug 365498 - Strange warning placement for defaulted constructor
...
Change-Id: Ia80fbd9694310aff0900e80cb9175e101c653604
Reviewed-on: https://git.eclipse.org/r/9065
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-06 21:22:45 -05:00
Tomasz Wesolowski
660a75531a
Bug 348387 - fp in ReturnChecker using try/catch
2012-11-17 01:38:45 -05:00
Marc-Andre Laperle
352eae2865
Bug 368222 - Preferences page uses wrong icons
2012-11-08 23:43:21 -05:00
Marc-Andre Laperle
58c1312133
Bug 392932 - ResourceException disabling checker in Codan preferences
2012-11-04 21:57:22 -05:00
Markus Schorn
d643e121a0
Fix intermittent test failures.
2012-09-14 09:32:36 +02:00
Sergey Prigogin
cace4b374b
Normalized extension point labels.
2012-08-24 10:14:48 -07:00
Sergey Prigogin
b774b53a26
Bug 299911. Improved propagation of template instantiation context.
2012-08-10 12:54:58 -07:00
Sergey Prigogin
f4d616cdc0
Bug 299911. Added logging of methods that loose template instantiation
...
context.
2012-08-08 17:38:17 -07:00
Sergey Prigogin
3be412111c
Bumped up feature versions for Kepler.
2012-06-28 11:08:11 -07:00
Sergey Prigogin
962736a429
Bug 383706. Restored accidentally commented out code.
2012-06-27 21:07:15 -07:00
Sergey Prigogin
4e99b5aea4
Bug 383706 - Class member initialization checker produces false
...
positives on deleted constructors
2012-06-27 18:03:44 -07:00
Sergey Prigogin
f0d78b9761
Cosmetics.
2012-06-27 15:48:41 -07:00
Sergey Prigogin
2d5f3da68e
Fixed an NPE.
2012-05-17 12:37:43 -07:00
Marc-Andre Laperle
af1c5c31d1
Bug 368611 - Bogus warning in template partial specialization
2012-05-13 13:45:31 -04:00
Sergey Prigogin
be41120c4e
Fixed a typo.
2012-05-09 18:41:57 -07:00
Alex Ruiz
a5e61b3f44
Bug 372551. Made "run on save" checker launch mode independent of
...
CodanBuilder. Introduced IPostSaveListener. Show external tool name in
console (instead of "CDT Build").
Change-Id: Id2f84acdbdc433084fab1360f80ca3a30a4182ab
Reviewed-on: https://git.eclipse.org/r/5760
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-05-01 13:15:46 -04:00
Sergey Prigogin
821918824e
Bug 378023 - Error markers are not removed when a checker is disabled
2012-04-29 22:43:37 -07:00
Sergey Prigogin
fd677bb18f
More logical order of parameters.
2012-04-29 19:52:11 -07:00
Sergey Prigogin
4c3a5dd669
Moved execution of checkers from CodanBuilder to CodanRunner.
2012-04-29 19:12:28 -07:00
Sergey Prigogin
d40474476a
Minor label adjustments.
2012-04-29 19:08:45 -07:00
Sergey Prigogin
84c0d6f47c
Cosmetics.
2012-04-29 19:06:50 -07:00
Sergey Prigogin
f3588cf4b0
Fixed a typo.
2012-04-29 19:01:22 -07:00
Sergey Prigogin
cb0906c2ab
Generics.
2012-04-29 17:49:07 -07:00
Sergey Prigogin
cc3dcd0e96
Alphabetical sorting of problem types.
2012-04-29 17:36:54 -07:00
Sergey Prigogin
d74d5f3757
Code streamlining.
2012-04-29 13:42:45 -07:00
Sergey Prigogin
b136bb95d0
Prevented class loading avalanche on UI thread when CDT is installed but
...
is not actively used.
2012-04-28 23:19:40 -07:00
Sergey Prigogin
c8e3a663f0
Eliminated redundant checker runs.
2012-04-28 23:15:29 -07:00
Sergey Prigogin
07924ceeeb
Cosmetics.
2012-04-28 23:13:16 -07:00
Sergey Prigogin
00a6c5069f
Streamlined check enablement logic.
2012-04-28 20:20:47 -07:00
Sergey Prigogin
c554c4e707
Don't run checkers on UI thread.
2012-04-28 17:59:34 -07:00
Sergey Prigogin
5a643e5e57
Made test more robust so that it doesn't fail when unrelated checkers
...
are present.
2012-04-28 17:57:36 -07:00
Sergey Prigogin
db6b4cf5ac
Cosmetics.
2012-04-28 17:37:09 -07:00
Sergey Prigogin
6a0f08849f
Cosmetics.
2012-04-28 16:51:23 -07:00
Alex Ruiz
181907f2fd
Bug 372551. Fixed running checkers on file open. Split "On file save"
...
launch mode into "On file save" and "On file open". Removed warnings in
project org.eclipse.cdt.codan.ui.cxx.
Change-Id: I7f0bc16731ba36e8048904f19836da9ae47514de
Reviewed-on: https://git.eclipse.org/r/5665
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-26 23:02:11 -04:00
Alex Ruiz
ba5775f033
Bug 372551. Fixed semantics of ErrorParserManager (e.g.
...
getErrorParserAvailableIds()) get by removing knowledge of
contexts from internal data structures (introduced in previous change
set).
Change-Id: Ia1ff68841f3b494a209e8cdf45325d640fd74ddf
Reviewed-on: https://git.eclipse.org/r/5656
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-25 16:44:50 -04:00
Alex Ruiz
1f83e4aa21
Bug 372551. Codan support for writing checkers that invoke external
...
tools.
Change-Id: Ia5cfd24d54ec6e67e08f24a367a6bc689ae407d0
Reviewed-on: https://git.eclipse.org/r/5586
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-18 15:52:48 -04:00
Sergey Prigogin
e7ef578e94
Bug 377045 - Bogus transient errors in C/C++ editor soon after Eclipse
...
startup.
2012-04-17 19:56:31 -07:00
Sergey Prigogin
f3f2671d48
Fixed a typo.
2012-04-17 19:55:35 -07:00
Alena Laskavaia
77a06573a9
Bug 316076 - fixed f.p. when using gcc annotation about no return
2012-04-16 21:56:57 -04:00
Sergey Prigogin
7366607b69
Cosmetics.
2012-04-15 19:32:26 -07:00
Sergey Prigogin
89e9f5d607
Fixed EmptyStackException.
2012-04-13 16:43:02 -07:00
Sergey Prigogin
03021e3af2
Cosmetics.
2012-04-13 16:41:01 -07:00
Sergey Prigogin
ae7dc29df9
Bug 376790 - Codan should not issue warnings for unused variables and
...
functions that have attribute unused
2012-04-13 15:49:10 -07:00
Sergey Prigogin
ada23a9a2f
Bug 372551. Removed the external tool checker support until all design
...
issues are resolved.
2012-03-13 18:42:16 -07:00
Marc-Andre Laperle
c40a860ba3
Bug 373695 - Quick fix fails to create local variable
2012-03-13 20:21:27 -04:00
Marc-Andre Laperle
53bc0f10e6
Bug 368420 - FP in members not initialized in in copy constructor
2012-03-07 20:36:34 -05:00
Marc-Andre Laperle
0a9a95adcd
Bug 368419 - FP in members not initialized in constructor
2012-03-07 01:33:16 -05:00
Marc-Andre Laperle
e912eb6f32
Bug 372009 - Wrong class name in NonVirtualDestructor warning
2012-03-05 01:31:48 -05:00
Sergey Prigogin
f85b0e8f4c
Remove @noreference from getResourceProfileWorkingCopy since it's used
...
externally.
2012-03-01 16:18:31 -08:00
Sergey Prigogin
9fa581109a
Fixed compiler warnings.
2012-03-01 16:18:19 -08:00
Alex Ruiz
92bd2aa4cc
Bug 373029 - Fixes to inconsistencies in Codan preference page.
2012-03-01 16:17:53 -08:00
Sergey Prigogin
0ecc12f363
Remove version constraints from dependencies between Codan plugins.
2012-02-24 12:49:54 -08:00
Sergey Prigogin
117792fba6
Fixed up the version in pom.
2012-02-24 09:48:54 -08:00
Sergey Prigogin
f6ecdf5318
Warning cleanup.
2012-02-23 15:05:20 -08:00
Sergey Prigogin
934adecf48
Adjustments to Alex's contribution.
2012-02-23 13:26:43 -08:00
Alex Ruiz
d7f5c2bd7c
Minor code cleanup.
2012-02-23 13:26:24 -08:00
Alex Ruiz
00c29ec7eb
Added more tests.
2012-02-23 13:25:46 -08:00
Alex Ruiz
f405944e2d
Code cleanup:
...
- Merged CommandLauncher and ExternalToolInvoker
- Moved CppcheckChecker from project org.eclipse.codan.checkers to
org.eclipse.codan.checkers.ui
- Removed unnecessary dependencies on UI code in project
org.eclipse.codan.checkers
2012-02-23 13:24:18 -08:00
Alex Ruiz
de264b53a7
Added test for CommandLauncher.
2012-02-23 13:23:09 -08:00
Alex Ruiz
fba2b5c3e4
Leftover cleanup from previous commit.
2012-02-23 13:22:06 -08:00
Alex Ruiz
88d576787e
Code cleanup, to make CommandLauncher testable.
2012-02-23 13:20:20 -08:00
Alex Ruiz
295466d26f
Fixed test broken by accident.
...
Switched to System.arrayCopy instead of manual array copy.
2012-02-23 13:20:05 -08:00
Alex Ruiz
55b9874f5d
Minor code cleanup.
2012-02-23 13:19:06 -08:00
Alex Ruiz
a3758a0664
Minor code cleanup.
2012-02-23 13:18:19 -08:00
Alex Ruiz
b25c644007
* Enabled correct API baseline (3.7) and fixed related API-check errors.
...
* Moved classes that are not part of the API to "internal" packages.
* Removed unnecessary classes.
* Simplified creation of checkers by providing alternative super class
and constructors.
2012-02-23 13:17:23 -08:00
Alex Ruiz
a631e47e43
Externalized Strings.
2012-02-23 12:26:48 -08:00
Alex Ruiz
3115bb4e22
Initial take on external-tool-based checkers.
2012-02-23 12:25:05 -08:00
Sergey Prigogin
dc6bc55815
Cosmetics.
2012-02-22 20:18:46 -08:00
Sergey Prigogin
aa4eae00dd
Fixed a broken test.
2012-02-11 17:12:06 -08:00
Sergey Prigogin
1548edd7e5
Cosmetics.
2012-02-11 17:11:59 -08:00
Sergey Prigogin
3991fd8658
Fixed two broken tests.
2012-02-11 17:11:52 -08:00
Sergey Prigogin
5db78a20c8
Cosmetics.
2012-02-10 17:47:52 -08:00
Sergey Prigogin
8034e44101
Fixed few failing Codan tests.
2012-02-10 17:47:46 -08:00
Sergey Prigogin
da28cc19fc
Java 1.5-style loops, etc.
2012-02-10 17:47:39 -08:00
Sergey Prigogin
e128056245
Fixed ExtractFunctionRefactoringTest.testOutputParameterWithMethodCall
...
test.
2012-02-08 20:58:00 -08:00
Marc-Andre Laperle
a4538dbc3a
Increment versions so that they are >= Indigo SR2
2012-02-05 15:35:26 -05:00
Sergey Prigogin
9f0e997443
Fixed a typo.
2012-01-20 15:11:06 -08:00
Marc-Andre Laperle
d98768295b
Bug 368446 - NonVirtualDestructor checker: stack overflow when class
...
inherits itself
2012-01-14 16:50:28 -05:00
Sergey Prigogin
ecd14f70f8
Declare utility methods static.
2012-01-09 10:52:51 -08:00
Marc-Andre Laperle
f9c201f067
Fix pom after version number increase
2012-01-08 11:56:41 -05:00
sprigogin
a962baf8c0
Incremented major version to fix API error.
2012-01-07 18:40:42 -08:00
Sergey Prigogin
d8c53b2501
@Override annotations.
2012-01-07 17:43:42 -08:00
Sergey Prigogin
693a79de5e
Fixed typos.
2011-12-05 19:57:17 -08:00
Sergey Prigogin
11ea0ed928
Code streamlining.
2011-11-07 14:37:14 -08:00
Sergey Prigogin
666828f68a
Fixed broken Quick Fix tests.
2011-11-07 14:28:57 -08:00
Otavio Pontes
2b1951b4cd
Bug 345614 - restore default button in codan preferences
2011-10-25 20:46:30 -04:00
Sergey Prigogin
09967ad791
Version number changes missed in the previous commit.
2011-10-19 20:53:44 -07:00
Sergey Prigogin
2932f9122c
Updated parent feature version in pom.xml files.
2011-10-19 19:32:07 -07:00
Sergey Prigogin
c3d94d1bf2
Switched to Java 1.6.
2011-10-17 20:57:43 -07:00
Sergey Prigogin
7a3c9ba3a1
Switched to Java 1.6.
2011-10-17 18:04:17 -07:00
Sergey Prigogin
457af57f60
Changed the execution environment to JavaSE-1.6
2011-10-17 16:44:49 -07:00
Doug Schaefer
9ec9113700
Update version numbers for Juno.
2011-09-22 15:03:14 -04:00
Marc-Andre Laperle
5eb921be84
Fix codan.test pom
2011-09-02 22:58:26 -04:00
Sergey Prigogin
fb7d64098f
Bug 356239 - ClassCastException in ClassTypeHelper.getOwnMethods.
2011-08-30 14:51:36 -07:00
Sergey Prigogin
a8522bf2a1
Added ability to suppress unused variable and function warnings for code
...
produced by macro expansion.
2011-08-29 17:03:55 -07:00
Sergey Prigogin
17f96f9eb3
Bug 356040 - Invalid "Unused declaration of variable" warning.
2011-08-28 20:45:15 -07:00
Sergey Prigogin
c0b9f79b30
Bug 356037 - "No break at the end of case" warning for a case statement
...
produced by macro expansion.
2011-08-28 19:31:15 -07:00
Alena Laskavaia
6f2671b1ee
Bug 352221 - Quick Fix for "case break" checker
2011-08-22 22:46:24 -04:00
Sergey Prigogin
13d4a94d42
Use StringBuilder instead of StringBuffer.
2011-08-08 16:27:41 -07:00
Sergey Prigogin
33c2e373d4
Bug 353360 - Bogus "type must implement the inherited pure virtual
...
method" error. Fix and test case.
2011-07-30 23:03:30 -07:00
Sergey Prigogin
14afc9f4f4
Cosmetics.
2011-07-30 23:03:02 -07:00
Sergey Prigogin
3427d95db8
Removed obsolete Codan feature.
2011-07-27 10:17:09 -07:00
Marc-Andre Laperle
74ecb38ea3
Bug 352983 - internal error in switch isFallThroughStatement
2011-07-25 13:49:00 -04:00
Marc-Andre Laperle
db669ba963
Bug 348191 - Quick fix for catch by value should propose to replace by a
...
const reference
Bug 352263 - [qf] Catch by reference quick fix places & at a wrong place
when no space after the type
2011-07-21 12:57:53 -04:00
Sergey Prigogin
1f58e41046
Fixed javadoc.
2011-07-20 12:32:49 -07:00
Sergey Prigogin
d3264a7418
Removed an invalid exemption for abstract classes.
2011-07-17 19:07:56 -07:00
Sergey Prigogin
21e056c856
Bug 315528 - [fp] Non-virtual destructor diagnostics doesn't take
...
superclass into account. Fix and additional tests including the ones
contributed by Tomasz Wesolowski.
2011-07-17 19:07:11 -07:00
Tomasz Wesolowski
761ccb9301
Bug 333599 - [C++0x] Initializer lists & return without type
2011-07-15 21:13:03 -04:00
Marc-Andre Laperle
2fbbb66579
Set UI harness for codan tests. Needed for quick fixes.
2011-07-09 14:42:05 -04:00
Anton Gorenkov
3b6f6642b8
Bug 339795 - [checker] Checker that finds class members that are not
...
initialized in constructor
2011-07-06 02:34:49 -04:00
Alena Laskavaia
c3dbd2cb91
Bug 351157 - Codan Source Plugin has incorrect Bundle-Name /
...
Bundle-Vendor
2011-07-05 21:59:02 -04:00
Doug Schaefer
6eff5311d7
More tests for the Maven build.
2011-06-29 14:30:07 -04:00
Doug Schaefer
d7092b12c9
Mavenizing CDT releng.
...
Also removed unsupported cdt.core fragments from the platform feature.
2011-06-28 05:21:58 -04:00
Alena Laskavaia
5431dae219
Bug 332283 - Parser gives warning if main does not return anything
2011-06-27 22:04:01 -04:00
Tomasz Wesolowski
6b80326e17
Bug 345687 - [fp] "No return, in function returning non-void" for
...
compound statement at the end
2011-06-27 20:47:43 -04:00
Tomasz Wesolowski
0060fff702
Bug 346559 - [fp] undeserved "no return in function returning non-void"
...
when using goto
2011-06-25 22:29:01 -04:00
Vivian Kong
f6d1c8c24b
Bug 348754 - Update feature copyright statements for Indigo
2011-06-08 14:36:18 +00:00
Vivian Kong
1ac5b9f1e2
Bug 348747 - Codan source bundles missing required files
2011-06-08 14:10:28 +00:00
Sergey Prigogin
f651a8baa6
Bug 315528 - [fp] Non-virtual destructor diagnostics doesn't take superclass into account. Patch by Patrick Hofer.
2011-05-28 04:57:43 +00:00
Sergey Prigogin
3b36b2bd92
Bug 347392 - Non externalized string in org.eclipse.cdt.codan.internal.ui.preferences.BuildPropertyPage.
2011-05-27 03:49:20 +00:00
Sergey Prigogin
2641a77126
Bug 333494 - Codan sometimes stops working after upgrade.
2011-05-27 03:33:00 +00:00
Sergey Prigogin
f05366610d
Cosmetics.
2011-05-27 03:30:26 +00:00
Vivian Kong
908bfad797
Bug 347325 - Codan source bundles missing legal files - add legal files to source bundle for Codan
2011-05-26 14:19:38 +00:00
Sergey Prigogin
ffc95c0d8d
Bug 315528 - Non-virtual destructor diagnostics doesn't take superclass into account. Patch by Patrick Hofer.
2011-05-25 06:06:05 +00:00
Vivian Kong
a8138c9ba2
Bug 331788 - NLS: Severities for Code Analysis Problem Preferences not externalized for translation
2011-05-24 14:43:46 +00:00
Sergey Prigogin
f118967040
Moved initialization of default preference to Codan core where it belongs.
2011-05-24 01:13:36 +00:00
Sergey Prigogin
c3b5435595
Bug 315528 - Non-virtual destructor diagnostics doesn't take superclass into account. Tests by Patrick Hofer.
2011-05-23 23:55:41 +00:00