Oliver Stöneberg
5a52fa80fb
refs #12022 - disallow multiple `--project` options ( #5499 )
2023-10-05 21:36:44 +02:00
Daniel Marjamäki
3ac89468ea
Fix #11911 (GUI: provide suppressions when creating the compliance report) ( #5401 )
2023-09-04 10:58:48 +02:00
Daniel Marjamäki
44c149e51b
Fix #11897 (Safety: show what checks are enabled/disabled) ( #5378 )
...
This primarily adds the corresponding report in the GUI that we have in
the command line already
2023-08-31 18:28:47 +02:00
Daniel Marjamäki
74ad7243ce
Partial fix #11892 (Safety: status message when checkers are skipped) ( #5368 )
2023-08-25 13:38:27 +02:00
Oliver Stöneberg
f91df64fec
fixed some Clazy `level0` warnings ( #5344 )
...
Regarding the "normalized signatures" see
https://github.com/KDE/clazy/blob/master/docs/checks/README-connect-not-normalized.md
and https://doc.qt.io/qt-6/qmetaobject.html#normalizedSignature .
2023-08-22 12:01:30 +02:00
Oliver Stöneberg
5dbcea3f1d
enabled and mitigated `readability-container-size-empty` clang-tidy warnings ( #5340 )
2023-08-17 17:01:08 +02:00
chrchr-github
eee1221738
Use in-class initializers, default constructors, class -> struct ( #4842 )
2023-08-08 11:05:02 +02:00
Daniel Marjamäki
1b4ec0def4
Fix #11787 (GUI: configure check level) ( #5206 )
2023-06-28 19:55:57 +02:00
chrchr-github
bb962e2bc3
Enable and mitigate readability-else-after-return ( #5175 )
2023-06-20 18:43:21 +02:00
Daniel Marjamäki
a62fedc641
GUI: Do not use --rule-texts in cppcheck premium ( #5136 )
2023-06-09 17:15:48 +02:00
Rainer Wiesenfarth
d1781a8cfb
Fix #11727 Limit check to selected VS configurations does not work ( #5072 )
...
Fix #11727 Limit check to selected VS configurations does not work
2023-05-23 12:44:03 +02:00
Mo
bd8a6f0681
keep SETTINGS_LAST_CHECK_PATH on no selected files ( #5016 )
...
set SETTINGS_LAST_CHECK_PATH only when mCurrentDirectory is not empty.
2023-05-07 08:33:47 +02:00
Oliver Stöneberg
b3016f01a1
fixed some CLion inspection warnings ( #4688 )
...
* fixed some CLion "Unused global declaration" warnings
* fixed some CLion "Not implemented function" warnings
* fixed some CLion "Unused struct" warnings
* added TODO
* removed unused parameter reported by CLion
* fixed some CLion "Unused macro" warnings
* fixed some CLion "Condition is always true" warnings and a CLion "The value is never used" warning
2023-04-28 16:02:41 +02:00
Oliver Stöneberg
5be8eee943
iwyu.yml: use a distro which has the latest `include-what-you-use` / enabled Qt mappings / cleaned up includes ( #4885 )
2023-04-08 16:08:47 +02:00
Daniel Marjamäki
0d6575da15
gui: improved error message when project import fails
2023-04-06 21:38:12 +02:00
chrchr-github
3836367d95
Fix FN passedByValue with array access, range-based for ( #4922 )
...
* Fix FN passedByValue with array access, range-based for
* Format
* Fix/suppress new warnings
2023-03-30 07:24:23 +02:00
Oliver Stöneberg
5af6ca6637
made `Platform` a member of `Settings` instead of inheriting from it / cleanups ( #4791 )
2023-03-03 18:36:27 +01:00
Oliver Stöneberg
8583fcf96e
avoid more cases of returning non-const pointers from `const` objects ( #4821 )
2023-02-24 21:22:08 +01:00
Oliver Stöneberg
14e78e1800
greatly improved error handling in Cppcheck project file parsing / some cleanups ( #4752 )
2023-02-08 20:30:43 +01:00
Daniel Marjamäki
e1b313ba76
GUI: Generate compliance report
2023-01-30 14:59:45 +01:00
Daniel Marjamäki
464fbe8d53
Update copyright year
2023-01-28 10:16:34 +01:00
Daniel Marjamäki
e70afda95a
GUI: Re-enable misra interface in open source GUI
2022-12-31 16:08:23 +01:00
Oliver Stöneberg
1cfe49e340
use `const_iterator` where possible ( #4662 )
2022-12-30 15:13:47 +01:00
Oliver Stöneberg
3c68b9b29f
use `cbegin()` and `cend()` with `const_ierator` loops ( #4658 )
2022-12-20 20:32:16 +01:00
Daniel Marjamäki
0d2993408a
GUI: Install link when new version is available
2022-11-08 13:33:57 +01:00
Daniel Marjamäki
2c53b73e1b
GUI: only run misra addon in premium version. remove misra rule texts configuration that is not needed in premium.
2022-11-03 18:20:13 +01:00
Daniel Marjamäki
e8606a5e5a
let --premium=misra-c-2012 also set --addon=misra. changed addons container to a set
2022-10-31 15:04:16 +01:00
Daniel Marjamäki
5c10cfd59e
GUI: fix path issue with backslashes. hide non-premium setting in premium settings dialog.
2022-10-30 10:59:43 +01:00
Daniel Marjamäki
4634a72fe0
GUI: some more tweaks for 'check for updates'
2022-10-24 15:17:36 +02:00
Daniel Marjamäki
fba70683bc
GUI: Add setting 'Check for updates'
2022-10-22 20:27:24 +02:00
chrchr-github
3273e51fd5
Fix #10412 FN useStlAlgorithm with iterators ( #4157 )
2022-10-16 13:46:26 +02:00
Daniel Marjamäki
94c3108494
GUI: Detect when version is old
2022-10-09 18:51:01 +02:00
Daniel Marjamäki
e35187cf9b
GUI: proper loading of cppcheck.cfg
2022-10-08 17:05:18 +02:00
Oliver Stöneberg
cff1cd9cda
applied clang-tidy `misc-const-correctness` fixes for POD types, iterators and references ( #4529 )
...
* applied `misc-const-correctness` fixes for POD types and iterators
* applied `misc-const-correctness` fixes for references
2022-10-02 07:12:40 +02:00
Daniel Marjamäki
5d267000e2
GUI: configuration of premium features
2022-08-22 21:11:28 +02:00
Oliver Stöneberg
8f728cb4b6
added (partial) support for specifying C++23 and support more "-std" options ( #3212 )
2022-04-15 16:17:36 +02:00
Oliver Stöneberg
45158ec064
cleaned up includes based on include-what-you-use ( #4007 )
...
* cleaned up includes based on include-what-you-use
* updated translations
2022-04-13 12:24:00 +02:00
Oliver Stöneberg
902f46bae5
some minor QRegularExpression usage optimizations and cleanups ( #3999 )
2022-04-11 19:15:42 +02:00
Daniel Marjamäki
8f386e15fd
Remove bug hunting. This feature will be provided in Cppcheck premium.
2022-04-11 07:31:33 +02:00
Daniel Marjamäki
4365704f14
cppcheck.cfg: support custom productname and about message
2022-03-24 22:44:47 +01:00
Oliver Stöneberg
a0bab85bf9
ported GUI code from QRegExp to QRegularExpression ( #3785 )
2022-03-23 18:16:22 +01:00
Oliver Stöneberg
e48b5fc920
avoid usage of deprecated Qt APIs ( #3923 )
2022-03-22 21:44:41 +01:00
Daniel Marjamäki
1fe7cd348a
exename: Set proper exename when cppcheck is executed from PATH and argv[0] does not contain path information
2022-03-21 18:35:53 +01:00
Oliver Stöneberg
2b3fc5ed1a
replaced Qt `foreach()` with standard `for` range loop / some related cleanups ( #3915 )
...
* replaced Qt foreach() with standard for range loop / some related cleanups
* updated translations
2022-03-21 17:14:26 +01:00
Oliver Stöneberg
9d524616b3
use forward declarations for Ui:: objects / renamed *.ui files to mat… ( #3796 )
2022-03-19 19:54:20 +01:00
Oliver Stöneberg
06d10b7474
fixed and enabled performance-for-range-copy clang-tidy warning ( #3682 )
2022-02-12 08:20:45 +01:00
Oliver Stöneberg
047930fd17
removed some unused/unread member variables (and related code) found by CLion "Unused global declaration" inspection ( #3808 )
2022-02-07 15:34:34 +01:00
Daniel Marjamäki
3989408738
Update copyright year
2022-02-05 11:45:17 +01:00
Daniel Marjamäki
0c66453c21
GUI: use range for instead of foreach
2022-02-05 11:33:28 +01:00
Oliver Stöneberg
9d36dd56a8
reordered includes in GUI code ( #3790 )
2022-02-02 16:17:28 +01:00