alex
babafd75e3
Added support for -U option to the GUI.
2018-10-09 15:05:05 +02:00
Matthias Krüger
017f910c57
gui: fix 2 findings by cppcheck
...
[gui/projectfiledialog.h:283]: (performance) Function parameter 'shortText' should be passed by const reference.
[gui/projectfiledialog.cpp:675]: (performance) Function parameter 'shortText' should be passed by const reference.
also run dmake
2018-08-09 09:43:11 +02:00
Daniel Marjamäki
9e3b392ec6
GUI: Edit existing suppression in the project file dialog
2018-08-09 06:50:35 +02:00
bwoester
1af983dd95
Gui select bcb6 projects ( #1258 )
...
* Allow selecting bcb6 projects in "Analyze" -> "Files..."
This change also splits the filters for files which can be analyzed into multiple entries and includes a helper class to construct filter strings.
* move FilterStringBuilder to its own class and document it
* add new files to .pro
* add missing include for Q_DECLARE_TR_FUNCTIONS macro
* re-run astyle
* allow to import bcb6 project when creating a new cppcheck project
exchange class FilterStringBuilder with a toFilterString() helper method
* add missing include
2018-05-25 07:09:49 +02:00
Daniel Marjamäki
ff2c376fe8
GUI: Cleanup NewSuppressionDialog interface
2018-04-13 17:24:58 +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
7e4dba6a7e
Updated copyright year
2018-03-31 20:59:09 +02:00
Daniel Marjamäki
588ec80122
misra: the user must provide the rule texts in text file.
2018-03-24 13:28:40 +01:00
Sebastian
e4becc5616
GUI: Fix loading of platform files in project file dialog ( #1122 )
...
Platform::loadPlatformFile needs the path to the binary not only the
path to the directory where the binary is in. Otherwise the last
directory could get stripped away and the platform files maybe will not
be found.
2018-03-16 05:35:30 +01:00
Daniel Marjamäki
9800e82d13
GUI: Allow that platform is selected in project dialog
2018-03-13 13:07:10 +01:00
Sebastian
857da29967
GUI: Remove redundant code ( #1102 )
...
The checked state of the addon checkboxes is already set in the
updateAddonCheckBox function directly above the removed code. I do not
see any reason to set it again and only for three of the four
checkboxes.
2018-03-06 22:49:33 +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
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
orbitcowboy
5bc61e35a0
std.cfg: Added support for std::swap.
2017-10-11 13:12:00 +02:00
Daniel Marjamäki
fb94b47f84
GUI: Indicate in project file dialog if clang-tidy is not found
2017-10-10 21:32:37 +02:00
Daniel Marjamäki
52c121c223
Disable Clang Analyzer for now. It needs a little more work.
2017-10-05 08:47:07 +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
330ceccdc9
GUI: Rework handling of tags. The allowed tags are now userdefined in the project file
2017-08-18 17:25:08 +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
c11bcdfb40
GUI: Remove Clang tool and Misra addon for now
2017-08-11 23:48:13 +02:00
Daniel Marjamäki
0561d59d28
GUI: Added checkbox 'Analyze all Visual Studio configurations' in the projectfile dialog
2017-08-10 00:18:04 +02:00
Daniel Marjamäki
f6893c72d5
GUI: Fix ProjectFileDialog::updatePathsAndDefines()
2017-08-07 23:08:26 +02:00
Daniel Marjamäki
c2bb9890e9
GUI: add clang-tidy
2017-08-04 15:10:27 +02:00
Daniel Marjamäki
dfc48be70e
Fixed #2363 (GUI: Using addons in the checking)
2017-08-03 12:30:28 +02:00
Daniel Marjamäki
c4ee9799bc
GUI: load/save data automatically in the ProjectFileDialog
2017-07-31 16:14:01 +02:00
Daniel Marjamäki
5e189de956
GUI: modernize connect in ProjectFileDialog
2017-07-31 08:09:57 +02:00
Daniel Marjamäki
1dfa92c2ce
astyle formatting
...
[ci skip]
2017-07-28 18:21:59 +02:00
Daniel Marjamäki
2828742e1e
GUI: Moved 'import project' to 'Paths and Defines' tab
2017-07-28 18:13:17 +02:00
Daniel Marjamäki
c1eb71e84d
GUI: Rename methods
2017-07-28 13:43:49 +02:00
Daniel Marjamäki
8d704f7709
GUI: Rename methods in ProjectFile
2017-07-28 05:08:59 +02:00
Daniel Marjamäki
f316e0d572
GUI: handle 'cancel' in open dialog
2017-07-27 16:10:30 +02:00
Daniel Marjamäki
ca2f59a6d4
GUI: Try to simplify the 'Import Project' setting
2017-07-27 16:07:47 +02:00
David Korth
310226bb6b
gui: Check CFGDIR if it's defined.
...
For quite a while, cppcheck-gui hasn't shown any of the standard
library packages on my Gentoo system. It turns out that cppcheck-gui
doesn't use CFGDIR, but it does use a DATADIR variable stored in
QSettings. Problem is, DATADIR isn't set unless you manually specify
--data-dir, which isn't very intuitive.
This commit adds CFGDIR to the default list of cfg paths if the
CFGDIR macro is defined during the build.
2017-05-11 11:02:10 +02:00
Daniel Marjamäki
769b6a0b72
astyle formatting
2016-11-20 10:38:27 +01:00
Daniel Marjamäki
c2069c4b76
GUI: Renamed functions
2016-11-19 23:00:59 +01:00
Daniel Marjamäki
ad1b3361db
GUI: Renamed projectfile.ui to projectfiledialog.ui. moved some code from project.cpp to projectfiledialog.cpp
2016-11-19 22:54:32 +01:00
Daniel Marjamäki
0da33eaa80
GUI: Renamed elements
2016-11-19 22:37:12 +01:00
Daniel Marjamäki
7c046e541b
GUI: Renamed ui elements
2016-11-19 21:38:05 +01:00
Daniel Marjamäki
2b767d3f6f
GUI: Rename
2016-11-19 21:12:32 +01:00
Daniel Marjamäki
84e6163cb8
GUI: Add cppcheck build dir
2016-11-19 20:38:50 +01:00
Daniel Marjamäki
f555abb0b5
GUI: Expose --project to gui
2016-08-18 21:58:50 +02:00
Lauri Nurmi
996c9244d8
Update copyright year to 2007-2016.
2016-01-01 15:34:45 +02:00
PKEuS
8f22e4924c
Updated AStyle to version 2.05.1
...
Tweaked runastyle.bat a little bit.
2015-12-17 15:53:13 +01:00
Daniel Marjamäki
0f9d90d2be
Changed Copyrights. Removed my name.
2015-11-18 20:04:50 +01:00
Daniel Marjamäki
ff11ba9847
Updated copyright year to 2015
2015-01-03 12:14:58 +01:00
Daniel Marjamäki
051d42ae6b
astyle formatting
2014-11-20 14:20:09 +01:00
orbitcowboy
f5d804f71a
running astyle
2014-11-20 10:13:03 +01:00