1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

623 commits

Author SHA1 Message Date
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