Commit Graph

84 Commits

Author SHA1 Message Date
Kimmo Varis 458af3c931 Merge branch 'error-details'
Conflicts:
	gui/resultstree.h
	gui/resultsview.cpp
2010-11-24 17:24:36 +02:00
Zachary Blair 6b9d9188c9 Fixed #1861 (GUI: Allow hiding error) Disabled menu item when not applicable 2010-11-24 00:48:07 -08:00
Kimmo Varis 0da55d6477 GUI: Improve updating details view.
After previous patches the details view was only updated when the
item was clicked with mouse. This patch improves the updating and
now it works also when changing selected item using keyboard.
2010-11-23 22:37:31 +02:00
Kimmo Varis 20334815c6 GUI: Remove Message-column from the error tree view.
The full detailed message is shown in the own panel below error tree.
2010-11-22 23:32:04 +02:00
Zachary Blair a16c0dbd5e Fixed #1861 (GUI: Allow hiding error) 2010-11-21 10:55:34 -08:00
Kimmo Varis 3fba8b52c0 GUI: Right-align line number. 2010-11-19 23:11:40 +02:00
Kimmo Varis a0a1ad806a GUI: Add tooltips for error items. 2010-11-19 22:54:40 +02:00
Kimmo Varis 3226281c59 GUI: Add new "Summary" column to results.
Summary column contains the short message core produces.
2010-11-11 23:15:06 +02:00
Kimmo Varis 999e446777 GUI: Add new short summary to error structures.
Also rename 'msg' in structures to 'message' for consistency.
2010-11-11 22:51:00 +02:00
Kimmo Varis c80c709d7e Add missing include lines. 2010-10-31 13:26:23 +02:00
Kimmo Varis 3ad4067262 GUI: Fix saving new error categories names. 2010-10-28 20:04:35 +03:00
Kimmo Varis 23eb8c41eb GUI: Add icons for warning/performance categories and add them to toolbar. 2010-10-18 21:35:35 +03:00
Kimmo Varis bee8d15848 GUI: Add support for warning and performance -error types. 2010-10-18 20:50:34 +03:00
Kimmo Varis 0fd51a814f Fix ticket #2041 (GUI: duplicate messages because file name case different) 2010-09-10 17:42:14 +03:00
Robert Reif 483a3ddfe1 Fixed #1925 (fix some cppcheck warnings in cppcheck) 2010-08-10 07:26:59 +02:00
Kimmo Varis c3dfe1a356 GUI: Fix bug that every error item got own parent item.
The code could not find existing parent item since items have paths
with native separators and search was done with non-native path
separators.
2010-07-18 13:17:21 +03:00
Kimmo Varis c606dc8403 GUI: Show paths with native separators in result tree.
GUI used to show paths with / separator which is not native
separator in Windows. So lets convert shown paths to native
separators before adding them to the GUI.
2010-07-17 20:26:24 +03:00
Kimmo Varis 801afae88b GUI: Refactor linenumber in ErrorLine to unsigned int. 2010-07-12 01:51:36 +03:00
Kimmo Varis c9d63fa454 GUI: Remember user-selected base path.
Remember the base path user selects when opening files from loaded
XML report.
2010-07-11 16:20:19 +03:00
Kimmo Varis b8793b1529 GUI: Ask file location from user if not found.
When loading report from XML there is no full paths so the file's real
path is not known and cppcheck cannot open it. So if the file has no
absolute path then we ask where the file is located from the user.
2010-07-11 14:22:55 +03:00
Kimmo Varis 9a5166075f GUI: Fix line numbers and filenames in errors.
When converting to use new ErrorItem and ErrorLine I made few mistakes
in how I handled the data. And for some reason there was not even
warnings about converting integers to QStrings.
2010-07-11 01:07:40 +03:00
Kimmo Varis faa483b8d0 GUI: Use integer list instead of variant list for line numbers. 2010-07-10 20:54:33 +03:00
Kimmo Varis 2f0202d105 GUI: More refactoring to use ErrorItem and ErrorLine. 2010-07-10 20:30:31 +03:00
Kimmo Varis 0e9d0e9bde GUI: Refactor error data passing to use own class. 2010-07-10 18:20:45 +03:00
Kimmo Varis 5d55bc0581 GUI: Remove remains of "possible error". 2010-07-03 12:58:56 +03:00
Kimmo Varis 35e655590c GUI: Remove remains of "all style".
Earlier "all style" was just removed as menu item but all the code related
was left in place. This commit actually removes the now unneeded code.
2010-07-03 11:48:25 +03:00
Daniel Marjamäki c718a7c595 astyle: Update to astyle 1.24 2010-04-15 20:08:51 +02:00
Reijo Tomperi 35d2a27b9c Update copyright year in all source files 2010-04-13 22:23:17 +03:00
Daniel Marjamäki 0cad22314e Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup. 2010-04-02 07:30:58 +02:00
Martin Ettl 193aa7d1d3 astyle fix 2010-04-02 02:21:53 +02:00
Martin Ettl 2e7a4c7b75 gui:added an right-click option "copy message" 2009-12-06 17:46:24 +01:00
Daniel Marjamäki 4e340d556d Robert Reif: initialize array (#366) 2009-11-24 17:25:27 +01:00
Reijo Tomperi d5e7d688d2 Fix #864 (GUI fails to open second position for multi-line errors)
Apply patch from robertreif
http://sourceforge.net/apps/trac/cppcheck/ticket/864
2009-11-20 00:43:46 +02:00
Daniel Marjamäki 40f2265abf robertreif: Fixed #442 (Filter duplicate errors in GUI) 2009-11-16 17:09:30 +01:00
Daniel Marjamäki 9207f7ade5 robertreif: Fixed #726 (GUI: Fix quoting of paths with spaces in Windows) 2009-11-16 17:02:28 +01:00
Reijo Tomperi fdde2182b9 Fix GPL comments in all files. ">." was missing from the end. 2009-09-27 18:08:31 +03:00
Kimmo Varis f6d2445e16 Add 'possible style error' severity for the GUI.
Fixes ticket #436 (GUI: All style -severity). The possible style errors can be now selected visible / hidden so all severities have their own menu item.
2009-08-02 15:00:22 +03:00
Kimmo Varis 2fb3b187f0 GUI: Fix GUI to recognize and use "possible error" type (was "all" earlier). 2009-07-31 22:12:05 +03:00
Kimmo Varis 635acfa2ab GUI: Remove security-category.
The security-category was removed from core in commits 03f3ee62a0 and 11bc5195b8.
2009-07-13 16:47:38 +03:00
Kimmo Varis 81ab6a75c3 Fix ticket #456 (GUI:: save only the results selected in view settings)
http://sourceforge.net/apps/trac/cppcheck/ticket/456
2009-07-04 22:29:48 +03:00
Kimmo Varis 3b1c9098b8 GUI: Show instructions instead of error when viewer application is not configured. 2009-07-03 17:46:39 +03:00
Kimmo Varis df7ca21a31 Astyle fixes. 2009-07-02 18:57:09 +03:00
Vesa Pikki 1daba9e913 Error types are now translated aswell. 2009-07-02 13:48:32 +03:00
Vesa Pikki 4206a9d218 Toolbar can now be hidden.
Treeview's headers will now be translated when language changes.
2009-07-02 11:46:26 +03:00
Vesa Pikki ebfa55b1c3 Began adding translations and using Qt Designer .ui files.
Also added QSetting value names to common.h

Work is halfway on both translations and .ui files.

I added a very quick and rough finnish translation.

The program now requires the translation files to be created before running
that can be done with lrelease gui.pro.

To compile the whole GUI one must do the following
cd gui
qmake
lrelease gui.pro
make
2009-07-02 11:33:28 +03:00
Kimmo Varis b245b7a832 GUI: Do not make settings names translatable.
Having translated settings names is a bad idea. If user changes GUI language one loses settings. Also settings might be exported/imported and translated names might not work between systems/users.
2009-07-02 02:02:34 +03:00
Kimmo Varis 23b816f43b Astyle fixes. 2009-07-01 23:47:38 +03:00
Kimmo Varis 64f304684f GUI: Remove GUI for showing unused functions.
Implements ticket #443 (Remove checking of unused functions from GUI) https://sourceforge.net/apps/trac/cppcheck/ticket/443
See also ticket #434
https://sourceforge.net/apps/trac/cppcheck/ticket/434
2009-06-27 10:41:30 +03:00
Kimmo Varis 678714419c GUI: Refactor report saving.
Refactoring report writing to own classes and using QT's XML classes for XML output. This also fixes the ticket ##408 (GUI generates invalid xml).
https://sourceforge.net/apps/trac/cppcheck/ticket/408
2009-06-24 10:54:56 +03:00
Kimmo Varis 2adfd3607d GUI: Enable clearing/saving results also if there are only hidden results.
This commit fixes a bug in my earlier commit that only checked visible results.
2009-06-20 23:42:12 +03:00