Commit Graph

24938 Commits

Author SHA1 Message Date
Daniel Marjamäki 9eb8174d90 dumpfile: remove redundant Variable attributes isArgument and isLocal. Add isVolatile. 2021-11-20 08:40:23 +01:00
Daniel Marjamäki d1d60999ad win_installer: update building. all files needed are collected in a single folder. the 'deploy' artifact will contain all the files. 2021-10-21 14:58:43 +02:00
Daniel Marjamäki 45a5ae6191 Set version 2.6.1 2021-10-21 14:57:17 +02:00
Daniel Marjamäki 328fa49981 Fixed #10529 (Cleanup dump and ctu-info files) 2021-10-21 14:48:50 +02:00
Daniel Marjamäki 3b3ae419a7 Addon; Determine proper full path for 'executable' addon 2021-10-21 14:48:43 +02:00
Daniel Marjamäki d053f8ba23 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-21 14:48:37 +02:00
Daniel Marjamäki 935c9349f3 Addons; allow multiple locations in addon error message 2021-10-21 14:48:28 +02:00
Daniel Marjamäki 66a734b481 Allow compiled addons 2021-10-21 14:48:21 +02:00
Daniel Marjamäki d873b8e771 Remove -rc1 from version 2021-10-02 09:41:35 +02:00
Paul Fultz II 056a1b3313
Add release notes for the library config changes (#3471) 2021-09-28 17:51:32 +02:00
Paul Fultz II 7836eb3663
Add some release notes for some features in 2.6 (#3470) 2021-09-28 08:02:14 +02:00
Daniel Marjamäki 7a33de5aa5 Add releasenotes document in repo 2021-09-27 07:56:27 +02:00
Daniel Marjamäki 92cfdf2cb6 Makefile: Set release mode 2021-09-26 16:45:15 +02:00
Daniel Marjamäki a7fc054a8e 2.6: Set version 2021-09-26 12:09:02 +02:00
Daniel Marjamäki b1c063d306 AUTHORS: Adder PeterSchops, Ronald Hiemstra and RudiDanner 2021-09-26 11:48:38 +02:00
Daniel Marjamäki 08f9de95e2 Update copyright year 2021-09-26 11:34:56 +02:00
Daniel Marjamäki 1207531642 lupdate gui.pro 2021-09-26 11:31:55 +02:00
Daniel Marjamäki 2a64ad8dbb Fixed #10481 (misra.py: Bailing out from checking test.c since there was an internal error: Failed to ...) 2021-09-25 21:53:55 +02:00
Daniel Marjamäki 5767ba794a GUI: do not use double backslash in filename. See https://sourceforge.net/p/cppcheck/discussion/general/thread/b548fc603b 2021-09-25 16:30:58 +02:00
Paul Fultz II d1181ad8e2
Fix 10506: Hang: template alias (TemplateSimplfier) (#3466) 2021-09-25 11:56:39 +02:00
Paul Fultz II 5c3b69fe96
Fix 10496: crash: endless recursion (symbolDatabaseCreateExprId => isSameExpr => isSameExpr ...) (#3467) 2021-09-25 11:55:49 +02:00
Daniel Marjamäki 2ee920dc4e Fixed #10495 (False positive: unreadVariable when assigning to reference returned by method) 2021-09-24 07:30:17 +02:00
Daniel Marjamäki 3c1ae77962 Fixed #10499 (FP: misra-c2012-10.4) 2021-09-23 10:44:38 +02:00
Ronald Hiemstra 2e682b1bf3
Update help text in cmdlineparser.cpp (#3464) 2021-09-22 20:06:42 +02:00
Dani Martin f01ffddca6
Fix in MISRA rule 6.1 check (#3458) 2021-09-22 19:25:02 +02:00
Paul Fultz II edd435d5f0
Fix 10491: Crash in unusedFunction on valid C++ code (#3465) 2021-09-22 13:03:46 +02:00
Daniel Marjamäki 4ad09f181a Fixed #10480 (FP: misra-c2012-10.4 (char)) 2021-09-22 13:02:11 +02:00
Paul Fultz II 255dc0484a
Fix 10331: wrong conditional value after assignment+return (#3461) 2021-09-21 19:25:41 +02:00
Daniel Marjamäki 47ea670eb3 Fixed #10486 (FP: misra-c2012-8.4) 2021-09-20 21:27:05 +02:00
Daniel Marjamäki adb703c09d Fixed #10487 (FP: misra-c2012-10.6 (bit fields)) 2021-09-20 20:27:43 +02:00
Armin Müller c6f8995bf0
Typos found by running "codespell" (#3463) 2021-09-20 19:51:38 +02:00
orbitcowboy e388bdc4da windows.cfg: Added support for FindFirstFileNameW 2021-09-20 11:54:16 +02:00
orbitcowboy 944c9f0db9 Formatted the code [ci skip] 2021-09-20 11:39:04 +02:00
orbitcowboy e0cc879456 windows.cfg: Added support for StrCatW 2021-09-20 11:38:31 +02:00
Daniel Marjamäki ee475b181d Fixed #10488 (FP: misra-c2012-10.7) 2021-09-19 20:22:30 +02:00
Paul Fultz II c76e6345c4
Fix FPs in bitwiseOnBoolean (#3455) 2021-09-19 15:20:57 +02:00
Paul Fultz II 9e9a982c6c
Fix 10468: False positive; uninitialized variable. Loop is always executed at least once (#3462) 2021-09-18 22:23:05 +02:00
orbitcowboy 578d3c3a93 Fixed #8723: False negative: Same expression with methods 2021-09-17 19:46:46 +02:00
Daniel Marjamäki a6c98e9e60 Fixed #10482 (FP: misra-c2012-12.2) 2021-09-17 14:21:25 +02:00
Daniel Marjamäki b6abe9c5fe misra; fix test_rules_suppression 2021-09-17 08:23:48 +02:00
Daniel Marjamäki c296115cd3 misra; fixed test 2021-09-17 08:08:40 +02:00
Daniel Marjamäki b938ee69d0 Fixed #10486 (FP: misra-c2012-8.4) 2021-09-16 11:41:50 +02:00
Daniel Marjamäki 6234e9ddda Fixed #10483 (FP constParameter with array member and memcpy) 2021-09-15 21:25:16 +02:00
chrchr-github 05acc13582
Shadow variables, const, rename function (#3456) 2021-09-15 20:28:58 +02:00
Daniel Marjamäki a9a093e7cc Fixed #10367 (False positive; pointer out of bounds argv-1) 2021-09-15 08:29:10 +02:00
chrchr-github 2d3b8d7003
Add regression test for #10473 (#3457) 2021-09-13 20:46:39 +02:00
Daniel Marjamäki 29bbb4ce14 Fixed #9220 (False positive: Unused function check for template parameter) 2021-09-12 20:27:49 +02:00
Daniel Marjamäki 23d37e5e7b Fix crash in daca@home 2021-09-12 19:41:35 +02:00
Daniel Marjamäki b455f847ba Fixed #10448 (FN compareValueOutOfTypeRangeError with int32_t) 2021-09-12 15:08:14 +02:00
Daniel Marjamäki 8de160a163 Fixed #10447 (FP: misra-c2012-10.3) 2021-09-12 09:12:47 +02:00