Sebastian
c990d10ffa
Check for JSON error when parsing addon .json files + fixes ( #2374 )
...
* cppcheck.cpp: Check for JSON error when parsing addon .json files
This fixes that errors in JSON files given via `--addon=*.json` are
silently ignored and maybe only a part of the JSON file is used.
Now the error message which picojson can return is checked and a
corresponding error message is returned again by getAddonInfo().
* naming.json: Fix missing comma
* CLI: Fix naming violations detected by addon naming.py via naming.json
* Addon naming: Add argument for validating names of constants
* LIB: Rename functions/variables so they are valid, loosen naming rules
* GUI: Fix naming violations
2019-11-20 15:37:09 +01:00
versat
feeb27f3c9
gui/checkthread.cpp: Fix warning "empty expression has no effect"
...
The trailing semicolons are redundant. "switch(){}" does not need one
and "Q_UNUSED()" already includes one.
2019-11-20 08:37:46 +01:00
Daniel Marjamäki
2d9a131817
Refactoring: Rename variables. Do not use leading _. Renamed 'col' to 'column'
2019-08-18 12:19:05 +02:00
Daniel Marjamäki
16dc8a0540
GUI: Suppressing addon warnings
2019-08-09 19:00:09 +02:00
Daniel Marjamäki
84cc09d17c
Update Copyright
2019-06-29 07:49:14 +02:00
Daniel Marjamäki
b0e56f873f
GUI: Use --cli option when running addons to get results in json format
2019-06-25 01:22:50 +02:00
Daniel Marjamäki
5b07901253
GUI: Add C++20 option
2019-05-05 10:44:09 +02:00
Daniel Marjamäki
d7e08ce75f
GUI: Refactoring handling of setting for c++/c std
2019-04-12 12:12:12 +02:00
alex
babafd75e3
Added support for -U option to the GUI.
2018-10-09 15:05:05 +02:00
Daniel Marjamäki
db6f4f4a3b
Fix a few 'const reference' warnings by Cppcheck
2018-06-23 23:04:54 +02:00
Daniel Marjamäki
4da406baab
GUI: Better handling of addon output
2018-06-06 15:01:06 +02:00
Daniel Marjamäki
ebb3912396
GUI: Refactoring
2018-04-16 19:57:23 +02:00
Daniel Marjamäki
a0906140a6
Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName.
2018-04-09 06:43:48 +02:00
Daniel Marjamäki
e240f8cee8
Fixed #8473 (GUI: Missing addon, not looking in executable path subfolder)
2018-04-07 10:32:10 +02:00
Daniel Marjamäki
7e4dba6a7e
Updated copyright year
2018-03-31 20:59:09 +02:00
Boris Barbulovski
79bb91179b
double quotes instead single ( #1067 )
2018-01-30 08:43:49 +01:00
Daniel Marjamäki
6f2d4361df
Misra: Integration of MISRA in the GUI. The misra addon can now extract the rule texts from the PDF.
2018-01-20 14:13:09 +01:00
Daniel Marjamäki
c4caee6b18
Updated copyright year
2018-01-14 15:37:52 +01:00
Daniel Marjamäki
120a7dd42e
GUI: Refactoring pythonCmd lookup
2017-10-12 22:24:45 +02:00
Daniel Marjamäki
abf97c2c26
GUI: refactoring
2017-10-12 17:02:25 +02:00
Daniel Marjamäki
74fc6485d2
GUI: Disable addons that are not found
2017-10-11 23:02:00 +02:00
Daniel Marjamäki
7b1f156ed0
GUI: Restore filemode for checkthread
2017-10-07 23:19:09 +02:00
Daniel Marjamäki
92314b65e9
GUI: Set PYTHONPATH
2017-10-07 16:21:35 +02:00
Daniel Marjamäki
233a6d2fc6
GUI: Fix warning ids and severities for clang/clang-tidy warnings
2017-09-22 22:32:02 +02:00
Daniel Marjamäki
9f306cf3aa
Added C++14 option
2017-09-22 22:00:00 +02:00
Daniel Marjamäki
791f6ecbec
GUI: Add 'Clang Analyzer' option
2017-09-22 18:57:53 +02:00
Daniel Marjamäki
6ddcfc3d1c
GUI: Updated handling of clang and clang-tidy
2017-09-22 15:41:27 +02:00
Daniel Marjamäki
34a96a56be
GUI: Added buttons to show/hide clang/cppcheck results
2017-08-20 12:21:46 +02:00
Daniel Marjamäki
03b75b54ca
GUI: Updated parsing of addon output
2017-08-15 22:09:55 +02:00
Daniel Marjamäki
e5e0853dd3
GUI: Remove environment tweaks because it should not be needed
2017-08-15 11:27:26 +02:00
Daniel Marjamäki
71f52b77a4
GUI: Configuration of python path for the addons
2017-08-14 00:23:21 +02:00
Daniel Marjamäki
b62c145c36
GUI: Show separate statistics graphs for cppcheck and clang-tidy
2017-08-12 15:44:43 +02:00
Daniel Marjamäki
f8c4d6cbc7
GUI: Clang settings
2017-08-12 12:04:42 +02:00
Daniel Marjamäki
2c837f2908
GUI: Show clang-tidy assertion errors in the results
2017-08-12 09:15:10 +02:00
Daniel Marjamäki
ad82f49ae2
GUI: Suppressing results
2017-08-11 07:45:29 +02:00
Daniel Marjamäki
5de64d6755
GUI: Fixed locations for clang/clang-tidy warnings
2017-08-10 22:46:23 +02:00
Daniel Marjamäki
c29536cfe1
GUI: trim given vs include paths
2017-08-10 15:17:41 +02:00
Daniel Marjamäki
4cc5a594da
GUI: in Clang/clang-tidy analysis the configuration name must start with 'Debug'
2017-08-10 11:16:19 +02:00
Daniel Marjamäki
e675ede07d
GUI: Separate tool statistics
2017-08-09 20:53:17 +02:00
Daniel Marjamäki
f42e7da295
GUI: Minor updates when checking with Clang
2017-08-08 20:12:03 +02:00
Daniel Marjamäki
5f1eecc02b
GUI: Minor tweaks
2017-08-08 12:10:20 +02:00
Daniel Marjamäki
ff8c5f7457
GUI: Added configuration for VS include paths
2017-08-07 23:00:24 +02:00
Daniel Marjamäki
b250791a1e
GUI: Use checksum for clang output to see if code is changed
2017-08-07 09:28:35 +02:00
Daniel Marjamäki
da255c35d3
GUI: Incremental analysis for clang/clang-tidy
2017-08-06 15:16:21 +02:00
Daniel Marjamäki
24027009e1
GUI: Updated handling of Clang
2017-08-06 12:14:15 +02:00
Daniel Marjamäki
7a19bddce4
Gui: Improve Clang in Windows. It must have standard headers so try to autodetect mingw headers.
2017-08-04 23:58:17 +02:00
Daniel Marjamäki
7f1db7b716
GUI: Working on Clang support on Windows
2017-08-04 20:08:01 +02:00
Daniel Marjamäki
c2bb9890e9
GUI: add clang-tidy
2017-08-04 15:10:27 +02:00
Daniel Marjamäki
5fa7a4edc4
GUI: save dumpfiles in buildDir if possible
2017-08-03 22:54:38 +02:00
Daniel Marjamäki
67043b3524
GUI: Add -isystem and proper standard when running Clang
2017-08-03 21:39:20 +02:00