Daniel Marjamäki
0a5b7b2af5
Make it possible to configure default addons in a cppcheck.cfg file.
...
Example:
{
"addons":["cert"]
}
With that cppcheck.cfg file cppcheck will always run the "cert" addon. Explicit options such as --addon=cert will not be needed.
2021-10-13 20:02:48 +02:00
Daniel Marjamäki
ca047e57bf
Switch from http to https on our sourceforge webpage
2021-08-28 12:46:54 +02:00
Paul Fultz II
7f358b2bed
Format with uncrustify ( #3388 )
2021-08-07 20:51:18 +02:00
Daniel Marjamäki
08626b9815
GUI: Set Settings::libraries properly before analysis
2021-06-13 19:48:45 +02:00
Georgiy Komarov
b74618d989
gui: Handle errors in creating build directory ( #3295 )
...
If user doesn't create a build directory, it is not possible to run the
addons, because addons are trying to check dump files in non-existent
build directory.
2021-06-09 11:21:23 +02:00
Daniel Marjamäki
d2d2124238
Revert "Clang import; This experimental feature didn't "take off" much. After a lot of work we are still far fram the goal. I remove it now but don't rule out completely that it could ever be added again."
...
This reverts commit 207361b174
.
2021-04-30 16:47:02 +02:00
Daniel Marjamäki
207361b174
Clang import; This experimental feature didn't "take off" much. After a lot of work we are still far fram the goal. I remove it now but don't rule out completely that it could ever be added again.
2021-04-21 18:59:48 +02:00
Oliver Stöneberg
6397e29f84
cleaned up includes based on include-what-you-use ( #3141 )
2021-04-03 21:30:50 +02:00
PKEuS
141d2ac215
Refactorization: Improved internal implementation of severity and certainty levels
...
Backported from LCppC.
2021-02-24 22:00:06 +01:00
Mathias Schmid
fa30464a96
Fix scratchpad translation on language change. ( #3078 )
2021-01-23 17:56:16 +01:00
Mathias Schmid
583ee7b70e
Fix update of some translations after application language switch. ( #3049 )
2021-01-15 18:19:51 +01:00
Rikard Falkeborn
bedf3118ef
library: Refactor to use enum class ( #3026 )
2021-01-08 10:29:01 +01:00
Oliver Stöneberg
fbf5858f76
fixed and enabled several clang-tidy warnings ( #2816 )
2021-01-02 19:10:25 +01:00
Daniel Marjamäki
a493e17a6a
Tweaks to use summaries in GUI
2020-12-19 20:46:00 +01:00
Daniel Marjamäki
bca3605f77
astyle formatting
2020-09-21 19:48:04 +02:00
Oliver Stöneberg
1077b0d2a6
small compileroptions.cmake cleanup ( #2817 )
...
* compileroptions.cmake: moved common warnings to proper scope and aligned them with other build systems / fixed some -Wrange-loop-construct clang warnings
* compileroptions.cmake: use check_cxx_compiler_flag() via add_compile_options_safe() helper to avoid compiler version checks
2020-09-21 19:41:28 +02:00
Oliver Stöneberg
7189b303ae
fixed some modernize-loop-convert clang-tidy warnings ( #2815 )
2020-09-21 19:30:47 +02:00
Daniel Marjamäki
51a6f154e0
GUI: If DATADIR is not configured try to guess it. Try to use application path. Or look if there is a cppcheck path.
2020-08-29 21:26:49 +02:00
Daniel Marjamäki
262d37fb47
windows installer: another attempt to make help work. the 'contents' are shown now but for some reason the 'index' is not.
2020-08-28 19:05:11 +02:00
Daniel Marjamäki
6277eece67
Variable contracts
2020-08-24 20:57:49 +02:00
Daniel Marjamäki
14dfa035c1
GUI: Try to reuse Qt Assistant to show help
2020-08-01 18:56:37 +02:00
Daniel Marjamäki
09241030c3
GUI: Add online help
2020-07-20 11:59:28 +02:00
Daniel Marjamäki
9af288e1dd
Fixed #9724 (GUI: The tags do not work anymore)
2020-07-16 23:03:54 +02:00
Daniel Marjamäki
b249d9be31
GUI: Refactor tags
2020-07-16 20:19:36 +02:00
Daniel Marjamäki
6ab4f39f52
GUI: Suppress cppcheck-id
2020-07-15 13:03:07 +02:00
Daniel Marjamäki
c5f9e85ee7
GUI: Add configuration for max recursion in template instantiation
2020-06-26 17:12:02 +02:00
Daniel Marjamäki
32e569704b
executeCommand in CppCheckExecutor or QCheckThread
2020-05-19 16:04:40 +02:00
Daniel Marjamäki
2ef538c171
Tweak paths when executing addons in Cppcheck
2020-05-17 21:45:37 +02:00
Daniel Marjamäki
547d1b158e
Fixed #9723 (GUI: inline suppressions does not work for addons)
2020-05-17 16:50:13 +02:00
Daniel Marjamäki
08ddd84780
Update copyright year
2020-05-10 11:16:32 +02:00
Daniel Marjamäki
3e0218299b
Revert "Update copyright year"
...
This reverts commit 6eec6c4bd5
.
2020-05-10 11:13:05 +02:00
Daniel Marjamäki
6eec6c4bd5
Update copyright year
2020-05-10 11:11:34 +02:00
Daniel Marjamäki
cdc530a25f
GUI: When clearing results, remove files in build dir
2020-04-29 18:10:01 +02:00
Daniel Marjamäki
e89f5ab593
GUI: Double click on contract to edit it
2020-04-29 17:51:25 +02:00
Daniel Marjamäki
12dfd8a5ca
GUI: Show missing/added contracts in tab
2020-04-28 22:09:01 +02:00
Daniel Marjamäki
dae009ca01
GUI: Try to improve usability for function contracts
2020-04-27 17:36:17 +02:00
Daniel Marjamäki
f7096a2232
Bug hunting: basic handling of contracts through GUI
2020-04-27 09:08:50 +02:00
Lauri Nurmi
e8c5c2b154
Show version number in Cppcheck GUI's title bar ( #2615 )
...
Also don't mark the string "Cppcheck" as translatable, as it is
questionable whether the product's name is supposed to be translated ever.
2020-04-22 09:26:21 +02:00
Oliver Stöneberg
91beccb304
fixed some clang-tidy warnings in gui code ( #2565 )
2020-03-07 11:33:08 +01:00
Daniel Marjamäki
e4250f890e
GUI: Show bughunting report
2020-02-10 20:24:36 +01:00
Daniel Marjamäki
bb701fd8be
GUI: Tweak ProjectFileDialog: Bug hunting, safe class checking
2020-02-09 21:02:28 +01:00
Daniel Marjamäki
25b5304efc
GUI: Simple first hack to allow bughunting in the GUI
2020-02-04 21:20:43 +01:00
Daniel Marjamäki
632dc0f141
GUI: Select parser; Cppcheck or Clang
2020-02-02 10:45:42 +01:00
Daniel Marjamäki
81fff2edf1
Fixed #9464 (Import compile database; only check given configuration)
2019-11-09 17:51:42 +01:00
Daniel Marjamäki
cb119f5910
Fixed #8977 (GUI : Inspecting Cppcheck results)
2019-08-23 21:27:32 +02:00
Daniel Marjamäki
d661ab09ce
GUI: Fixed suppressions when reanalyzing files
2019-08-19 12:59:44 +02:00
Daniel Marjamäki
5d021cb41d
GUI: Revert my theme changes. The theme selection will only be for the code editor again.
2019-08-18 21:11:46 +02:00
Daniel Marjamäki
a17f2a6f05
Compiling/Installing : The CFGDIR parameter was removed. Use FILESDIR instead.
2019-08-17 10:53:07 +02:00
Daniel Marjamäki
831f2009f5
GUI: Set current dir when starting the GUI so results are shown properly
2019-08-14 10:23:36 +02:00
Daniel Marjamäki
6c55d27f19
Fixed #9240 (GUI: Issue with file names in suppressions (undesired expansion to full path))
2019-08-11 15:53:23 +02:00