Commit Graph

35 Commits

Author SHA1 Message Date
fuzzelhjb 4690a9a25d
Check specific vs config (#2513)
* add support for selected Visual Studio configurations in the UI and the project file

* skip VS configurations that don't match the one in the project file

* rename xml tags

* disable selected VS config textbox if all VS configs should be analyzed

* on importing a VS project/solution also read all configurations

* add QListWidget for VS configurations

* auto select these configs that were loaded from the cppcheck file

* fine tune UI and handling if no VS solution/project is used

Co-authored-by: Daniel Marjamäki <daniel.marjamaki@gmail.com>
2020-01-31 14:08:38 +01:00
fuzzelhjb 074d08e39e
Check specific Visual Studio configurations (#2503) 2020-01-31 07:08:38 +01:00
Sebastian f9d5aec758
GUI: projectfiledialog.ui: Add note about addons requiring Python (#2364)
This fixes https://trac.cppcheck.net/ticket/9456 (Tell the user that the
addons require Python) regarding the GUI. Whether it is useful/necessary
to add something similar for the CLI must still be checked.
2019-11-15 21:36:25 +01:00
Daniel Marjamäki 22d7ca648d GUI: Remove the 'Safe Checks' tab in project settings. We need to tweak these checks and settings further. 2019-08-25 18:53:01 +02:00
Daniel Marjamäki 681bd0a911 GUI: Better settings for extended safe checks 2019-07-23 11:54:38 +02:00
Daniel Marjamäki 4a70208e0e GUI: Activate 'human knowledge' options 2019-07-11 21:05:52 +02:00
Daniel Marjamäki 8eaa50c050 GUI: Tweak the 'Human knowledge' tab 2019-07-11 14:00:46 +02:00
Daniel Marjamäki e0f258db0c GUI: Start adding some 'human knowledge' configuration options 2019-07-11 10:27:18 +02:00
Daniel Marjamäki ccc830870c GUI: Updated selection of files/folders. Prefer relative paths. 2019-04-16 10:32:34 +02:00
Daniel Marjamäki f6b410b469 GUI: add setting for 'checkHeaders', 'checkUnusedTemplates' and 'maxCtuDepth' to project 2019-04-10 16:49:24 +02:00
Daniel Marjamäki 7237acdb47 GUI: In the project dialog select libraries in a listbox 2019-04-06 16:44:43 +02:00
alex babafd75e3 Added support for -U option to the GUI. 2018-10-09 15:05:05 +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 a828d2a199 GUI: Fix so correct tab is shown first in ProjectFileDialog 2018-04-07 10:20:47 +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 ad5f7cbf71 GUI: Minor fix: Rename one of the two layout items with the same name (#1121)
Qt warns about two QVBoxLayout objects with the same name and
automatically renames one.
This fixes the warning.
2018-03-15 14:59:34 +01:00
Daniel Marjamäki 9800e82d13 GUI: Allow that platform is selected in project dialog 2018-03-13 13:07:10 +01:00
Sebastian 004da46664 GUI: Make edit define tooltip more clear via example (#1113) 2018-03-12 15:20:09 +01:00
Daniel Marjamäki 3c00a22c42 GUI: Clarify user interface '...' => 'Browse...' 2018-02-10 17:31: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 791f6ecbec GUI: Add 'Clang Analyzer' option 2017-09-22 18:57:53 +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 649f7b4d73 GUI: Tweak ProjectFileDialog, use groupbox 2017-08-12 23:20:56 +02:00
Daniel Marjamäki 117892e5b2 GUI: Reorder ProjectFileDialog tabs 2017-08-12 20:33:49 +02:00
Daniel Marjamäki 416cf641f3 GUI: Tweak ProjectFileDialog, use GroupBox 2017-08-12 13:02:15 +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 c2bb9890e9 GUI: add clang-tidy 2017-08-04 15:10:27 +02:00
Daniel Marjamäki ac08e216a4 GUI: indicate that clang handling is experimental 2017-08-03 17:10:56 +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 2828742e1e GUI: Moved 'import project' to 'Paths and Defines' tab 2017-07-28 18:13:17 +02:00
Daniel Marjamäki 2d23ee2490 GUI: Change text for project settings tab 2017-07-27 16:12:28 +02:00
Daniel Marjamäki ca2f59a6d4 GUI: Try to simplify the 'Import Project' setting 2017-07-27 16:07:47 +02:00
Daniel Marjamäki f6ee0f6868 GUI: Add tooltip for build dir setting 2017-07-27 14:40:19 +02: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