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
chrchr-github
cb5a50c6a7
Fix #10710 FN passedByValue with QString ( #3696 )
2022-01-18 20:17:05 +01:00
Daniel Marjamäki
866aeff1ae
GUI: Fix selfcheck shadowVariable warning
2021-12-15 20:43:25 +01:00
Daniel Marjamäki
d2dd4e54b9
Fix execution of executable addons from GUI
2021-12-15 19:27:02 +01:00
Daniel Marjamäki
ed4d2c21e6
Load cppcheck.cfg in FILESDIR if that is specified
2021-11-05 20:37:48 +01:00
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