Commit Graph

115 Commits

Author SHA1 Message Date
Markus Elfring 937da6bd46 Put XmlReportV2 object on the stack in ResultsView::readErrorsXml() (#1430)
Dynamic memory allocation was used for a XmlReportV2 object
in the function “ResultsView::readErrorsXml”.
This object was put on the stack instead so that this software
became a bit safer and more efficient.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2018-10-17 06:38:14 +02:00
Daniel Marjamäki b66af545ca GUI: cleanup the details window 2018-08-07 10:45:00 +02:00
amai2012 134d0be8b9 #8620 include used twice. Clean up includes. 2018-06-12 08:34:44 +02:00
Daniel Marjamäki 7e4dba6a7e Updated copyright year 2018-03-31 20:59:09 +02:00
Daniel Marjamäki be67b75035 GUI: early return 2018-02-20 14:32:07 +01:00
Daniel Marjamäki 5236bfd845 GUI: load xml => set check path to file path if that seems to match 2018-02-20 13:40:10 +01:00
Daniel Marjamäki feef8f3ebe GUI: Updated code viewer 2018-02-18 12:06:54 +01:00
Daniel Marjamäki 66c275e337 GUI: Added code editor for quick inspection of bugs 2018-02-17 22:24:41 +01:00
Daniel Marjamäki c4caee6b18 Updated copyright year 2018-01-14 15:37:52 +01:00
orbitcowboy 80d0c8451f Running astyle. 2017-12-08 09:16:34 +01:00
Sebastian 8d08357a73 GUI: Enhance context menu for analysis log (#1014)
*Add context menu entry for copying selected log entry
*Add context menu entry for copying the complete log
*Do not show context menu if analysis log is empty
*Renamed function log_clear to logClear so it matches the coding style
in the GUI
2017-12-06 21:39:53 +01:00
Sebastian 36ebf165c8 GUI: Add clear log context menu entry (#1012)
* GUI: Add clear log context menu entry

Add custom context menu to analysis log with an entry to clear the log.

* Fix: Made string translatable
2017-12-05 20:42:16 +01:00
Daniel Marjamäki 27fb430c1e GUI: Code cleanup 2017-08-20 15:08:53 +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 c624fc2057 GUI: Fix statistics 2017-08-11 08:08:30 +02:00
Daniel Marjamäki ad82f49ae2 GUI: Suppressing results 2017-08-11 07:45:29 +02:00
Daniel Marjamäki e675ede07d GUI: Separate tool statistics 2017-08-09 20:53:17 +02:00
PKEuS b4cf79f1b7 GUI: Refactorizations 2017-08-03 12:43:44 +02:00
Daniel Marjamäki 952c31638c Fixed #1862 (GUI: Allow user to tag errors) 2017-08-02 22:28:45 +02:00
Daniel Marjamäki 78e30e735e GUI: Better history. Prepare for tagging messages. 2017-08-02 20:24:23 +02:00
Daniel Marjamäki 9d93c01ba0 GUI: modernize connect in ResultsView 2017-07-31 08:17:13 +02:00
Daniel Marjamäki fcce43fb8d GUI: reopen project after restart. If build dir is specified the last results will also be shown. 2017-07-30 00:13:00 +02:00
PKEuS 2aa1523a2d GUI: Removed XML format version 1 2017-07-29 19:36:19 +02:00
Daniel Marjamäki c1eb71e84d GUI: Rename methods 2017-07-28 13:43:49 +02:00
Daniel Marjamäki 90dd04d317 GUI: Update connect() 2017-07-28 12:22:15 +02:00
Daniel Marjamäki 73cbf617e2 GUI: Renamed methods in ResultsView 2017-07-28 12:10:10 +02:00
Daniel Marjamäki 090062baaf GUI: Rename ResultsTree methods 2017-07-28 11:54:20 +02:00
Daniel Marjamäki 0d8b7af2b3 GUI: Renamed methods in Report 2017-07-28 11:12:05 +02:00
Daniel Marjamäki 5ed4c7f3ea GUI: Rename methods in CheckStatistics 2017-07-28 05:23:25 +02:00
Akhilesh Nema 2f29efce68 Fixed #7295 (GUI: 'Edit Project' and 'Close Project' actions getting enabled after Files/Directory check.) 2016-01-16 09:59:02 +01:00
Akhilesh Nema 4aa2876ca0 Fixed #7278 (GUI: error rechecking with some files) 2016-01-15 16:52:22 +01:00
Lauri Nurmi 996c9244d8 Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
Akhilesh Nema 997d7dc695 Fixed #7231 (GUI: 'Selected File Recheck' being performed multiple times if file selection includes existing error messages.) 2015-12-29 01:38:36 +01:00
Akhilesh Nema bedd85fa50 Fixed #1459 (GUI: Allow re-checking selected files/folders) 2015-12-23 10:28:07 +01: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
PKEuS dfe61f415d GUI: Improved handling of inconclusive messages (#3815)
- Moved setting from "Advanced" to "General" tab
-> Moved remaining single item, too, as it does not make sense to keep a tab for a single option. This option is now shown at the bottom of the dialog
- Replaced [inconclusive] string in "Summary" Column by extra column "Inconclusive", which is only visible if inconclusive checking is enabled
2015-10-15 11:59:17 +02:00
PKEuS fb2802d6a3 GUI: Show file that included a header in details view (#4026) 2015-10-14 18:10:14 +02:00
Blubbz0r 2eb0832ac2 Refactoring
Adjusted documentation of PrintableReport
PrintableReport no longer provides the formatted report as QTextDocument
but as plain QString (so that the caller can decide how to deal with the
text)
2015-04-17 16:46:58 +02:00
Blubbz0r ecf04c90e4 Added print and print preview functionality
Added Print... and Print Preview... actions to main window
Added PrintableReport responsible for formatting of ErrorItems and
exposing of a QTextDocument that can be used for printing
2015-04-17 16:33:52 +02: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
Daniel Marjamäki fd3a8a2a18 Update copyright 2014-02-15 07:45:39 +01:00
PKEuS 107dd31e50 Fixed calculation of statistics in GUI (#4578) 2013-02-15 07:49:36 -08:00
Reijo Tomperi 5d5f7085bf Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
PKEuS 7c8f6173c1 Don't need parent of QObject to be set in Report -> Increase constness of ResultsView::Save()
- our code already deletes all Report instances; there is no need for garbage collector
2012-10-27 12:22:56 +02:00
PKEuS 7ffffdfc16 Optionally display error Id in additional column and details view (#3526) 2012-10-27 11:16:52 +02:00
PKEuS b1a768e5ec Cleanup of includes in GUI (Removed redundant includes, use forward declarations) - Build speedup by 3% in VS10 (LINKCORE=yes, Qt 4.8.3) 2012-10-07 12:25:34 +02:00