Commit Graph

407 Commits

Author SHA1 Message Date
Lauri Nurmi a7a0a54557 Show a clear button in the Quick Filter text field in GUI. (#1603) 2019-01-15 10:35:23 +01:00
Daniel Marjamäki f629fa3d66 Fix Cppcheck warning
[ci skip]
2019-01-12 18:29:34 +01:00
Alexander ee2cea026a Fixed bug with incorrect platform used for check if check is run from UI and platform settings is taken from xml file. (#1434) 2018-10-17 12:44:41 +02:00
alex babafd75e3 Added support for -U option to the GUI. 2018-10-09 15:05:05 +02:00
Daniel Marjamäki ddf7b186bb GUI: Cleanup non-existing projects from the MRU 2018-08-08 11:03:51 +02:00
Daniel Marjamäki f68f793256 GUI: load other results when open recent project 2018-08-08 09:07:05 +02:00
Daniel Marjamäki 90a3759479 Refactoring: early return 2018-08-08 09:00:04 +02:00
Daniel Marjamäki a24c3b1d36 Fix GUI build 2018-08-05 14:25:43 +02:00
Daniel Marjamäki 5e34847592 GUI: Use relative paths in analysis 2018-07-01 08:00:05 +02:00
Daniel Marjamäki db6f4f4a3b Fix a few 'const reference' warnings by Cppcheck 2018-06-23 23:04:54 +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
Sebastian 389fc0c1ee
GUI: Fix wrong receivers in connect calls (#1178)
Since the slots (functions) are not existent in the class MainWindow and
Qt complains that it can not connect the slots i guess it has been
forgotten to change the receiver.
The ResultsView class (from which mUI.mResults is an instance) contains
these slots, so i guess they should be connected there.
2018-04-18 21:37:09 +02:00
versat 024f84ea60 GUI: Add "Check library" and "Check configuration" menu entries
They both are only enabled when a project is loaded and when started
they reanalyze the project one time with the according settings.
2018-04-14 08:10:35 +02:00
Daniel Marjamäki 308e044769 GUI: minor gui updates
* when loading xml results, show filename in window title
 * when xml results are loaded, enable the save/print/etc buttons
2018-04-12 08:15:04 +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 9800e82d13 GUI: Allow that platform is selected in project dialog 2018-03-13 13:07:10 +01:00
Sebastian df34164b9f
GUI: Scratchpad: Add help texts; run astyle (#1104)
This adds labels with short explanations on how the scratchpad can be
used.
2018-03-07 12:38:50 +01:00
Martin Ettl 5fc8f13fd6 GUI: Expand found results when using the scratchpad. 2018-03-07 00:18:47 +01:00
Daniel Marjamäki b66a214ce5 astyle formatting
[ci skip]
2018-03-06 22:51:06 +01:00
Sebastian 6b45be6c94 GUI: Avoid path concatenation when path is absolute (#1103)
When using an absolute path for import project, prepending the current
directory results in an invalid path and the analysis (silently, no
error shown in the GUI) fails.
2018-03-06 22:50:16 +01:00
Daniel Marjamäki b1ae56736d GUI: early return 2018-02-20 13:10:36 +01:00
Daniel Marjamäki 79be1257ca GUI: Minor tweaks. Rename variables. Make sure statistics menu option is enabled at startup if there are last results 2018-02-16 22:22:13 +01:00
Daniel Marjamäki 5acbae8cfa GUI: If no analysis has been done, there are no statistics to show 2018-02-16 22:15:15 +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
Sebastian 2f861070de GUI: Fix: Create all directories in build dir (#1009)
mkdir() only creates the "last" directory, if more directories in the
path are missing it fails and does not create any directory.
With mkpath() all missing directories are created now.
2017-12-05 20:44:09 +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 09cdead6cb GUI: Fixed problem with absolute build dir 2017-10-08 15:01:03 +02:00
Daniel Marjamäki 92314b65e9 GUI: Set PYTHONPATH 2017-10-07 16:21:35 +02:00
Daniel Marjamäki ec55313c28 GUI: DataDir - use application path if datadir is not set 2017-10-07 16:09:14 +02:00
Daniel Marjamäki ecc90c040e GUI: When creating a new project, set a default value for build dir 2017-09-25 09:19:22 +02:00
Daniel Marjamäki 1b93e2fad9 GUI: Make last results work better 2017-09-23 15:11:42 +02:00
Daniel Marjamäki 9f306cf3aa Added C++14 option 2017-09-22 22:00:00 +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 33664a88d1 Fixed CID 1378777, uncaught exception 2017-09-02 11:11:35 +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 f6184bba0d Fixed #8169 (GUI: Show checking log in mainwindow) 2017-08-19 22:55:13 +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
Matthias Krüger 2ea8754088 gui: MainWindow::reAnalyzeSelected(): remove unused parameter 'all'.
Was:
mainwindow.cpp:998:60: warning: unused parameter ‘all’ [-Wunused-parameter]
 void MainWindow::reAnalyzeSelected(QStringList files, bool all)
                                                            ^~~
.
2017-08-14 12:56:16 +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 928e053efc GUI: VS headers for clang-tidy 2017-08-13 17:13:24 +02:00
Daniel Marjamäki f8c4d6cbc7 GUI: Clang settings 2017-08-12 12:04:42 +02:00
Daniel Marjamäki ad82f49ae2 GUI: Suppressing results 2017-08-11 07:45:29 +02:00
Daniel Marjamäki 1afebfa96d improve the clang settings 2017-08-10 15:47:20 +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 9e10c2fc78 GUI: Clear results when closing project 2017-08-09 11:23:47 +02:00
Daniel Marjamäki ff8c5f7457 GUI: Added configuration for VS include paths 2017-08-07 23:00:24 +02:00
Daniel Marjamäki e1a086f83a Restore mode 644 for gui/mainwindow.cpp 2017-08-06 21:37:15 +02:00