Daniel Marjamäki
77d9a4d981
GUI: Remove unused method
2017-08-02 20:27:38 +02:00
Daniel Marjamäki
78e30e735e
GUI: Better history. Prepare for tagging messages.
2017-08-02 20:24:23 +02:00
Daniel Marjamäki
3e2236ac73
GUI: Rename variables
2017-08-02 19:09:03 +02:00
orbitcowboy
cc210679a5
gnu.cfg: Added returnValue-types.
2017-08-02 14:34:06 +02:00
Daniel Marjamäki
274bc179bf
GUI: constness
2017-08-02 14:26:56 +02:00
Daniel Marjamäki
f516c5696e
GUI: small refactoring
2017-08-02 12:45:57 +02:00
Daniel Marjamäki
5c7591db9e
Fix issues detected by Coverity, ResultsTree did not initialize all member variables
2017-08-02 08:57:44 +02:00
Daniel Marjamäki
2f554e82ff
GUI: modernize connect in ResultsTree
2017-07-31 08:18:34 +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
Daniel Marjamäki
c1eb71e84d
GUI: Rename methods
2017-07-28 13:43:49 +02:00
Daniel Marjamäki
98803bb14c
GUI: Renamed methods in ThreadHandler
2017-07-28 12:39:28 +02:00
Daniel Marjamäki
90dd04d317
GUI: Update connect()
2017-07-28 12:22:15 +02:00
Daniel Marjamäki
090062baaf
GUI: Rename ResultsTree methods
2017-07-28 11:54:20 +02:00
Daniel Marjamäki
252fab2181
GUI: Renamed common functions
2017-07-28 11:20:35 +02:00
Daniel Marjamäki
0d8b7af2b3
GUI: Renamed methods in Report
2017-07-28 11:12:05 +02:00
Daniel Marjamäki
24ce4292f2
GUI: Rename methods in ApplicationList
2017-07-28 05:18:43 +02:00
Daniel Marjamäki
cc2526c5c5
Fixed #8096 (GUI: crash in ResultsTree::AddErrorItem)
2017-06-07 11:55:21 +02:00
Daniel Marjamäki
a20fb4f36a
GUI: Update results
2017-05-21 08:25:55 +02:00
Daniel Marjamäki
1c970df17f
Revert "GUI: fix results if there is problem only in header and not in file-1."
...
This reverts commit 997a3cd9ca
.
2016-09-19 15:40:15 +02:00
Daniel Marjamäki
997a3cd9ca
GUI: fix results if there is problem only in header and not in file0.
2016-09-18 21:32:53 +02:00
Akhilesh Nema
06ded4a3d4
Fixed #7240 (GUI: Result tree Context Menu should show default editor application only.)
2016-01-16 15:19:06 +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
Daniel Marjamäki
cc987d8ff5
astyle formatting
2015-12-23 23:05:26 +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
Akhilesh Nema
20b695d62d
GUI: Handle 'Enter Key' Event in results tree.
2015-12-03 19:33:36 +01:00
Daniel Marjamäki
0f9d90d2be
Changed Copyrights. Removed my name.
2015-11-18 20:04:50 +01:00
Aleksandr Pikalev
c0191b25ac
Fixed #5662 (GUI - Save results missing some entries)
...
Use empty parent index as we test top level items.
2015-11-13 20:21:06 +01:00
PKEuS
04a31011b0
GUI: Do not show Severity, Id, Inconclusive and Summary twice if an error element has a child
2015-10-15 12:08:51 +02: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
46a43f3041
GUI: Properly refresh result tree if new rows are added ( #4727 )
2015-10-14 17:44:52 +02:00
Aleksandr Pikalev
f239057e33
Change Q_WS_WIN to Q_OS_WIN
...
Q_WS_* macroses were removed from Qt5.
Use Q_OS_* instead.
2015-10-07 13:42:42 +02:00
Daniel Marjamäki
41d7e8e1f0
GUI: Quick fix for a crash when mContextItem->parent() is NULL
2015-09-04 20:04:31 +02:00
Alexander Mai
d4550c763d
Exit code shall indicate that an internal error (syntax error) has been found. Add some const. Run astyle
2015-05-25 21:15:55 +02:00
Blubbz0r
15c0be9eb4
Added missing include
2015-05-25 16:25:58 +02:00
Blubbz0r
aa66cf5eda
Added context menu item Open containing folder
...
Note: This also fixes the Copy full path context menu item (was only
putting file name into clipboard)
2015-05-25 15:33:46 +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
Zachary Blair
a381170886
Fixed #4874 (Minor spelling corrections)
2013-06-26 00:47:02 -07:00
PKEuS
d9f982443d
Ran astyle
2013-02-19 12:39:50 -08:00
Mateusz Pusz
7301a3e64d
QFileDialog last used paths storage improved
2013-02-17 19:59:56 +01:00
PKEuS
107dd31e50
Fixed calculation of statistics in GUI ( #4578 )
2013-02-15 07:49:36 -08:00
Daniel Marjamäki
b660cf89ef
astyle formatting
2013-02-10 23:53:01 +01:00
Daniel Marjamäki
e4b8512bc7
GUI: Reverted 'GUI while opening FileDialog now remembers last path used'
2013-02-10 08:15:32 +01:00
Daniel Marjamäki
ff89997d89
Merge pull request #132 from mpusz/hide_all_with_id
...
"Hide all with id" popup menu item added
2013-02-09 22:33:39 -08:00
Daniel Marjamki
318ace7879
astyle formatting
2013-02-09 19:36:48 +01:00
Mateusz Pusz
013de4857c
GUI while opening FileDialog now remembers last path used
2013-02-07 18:06:11 +01:00
Mateusz Pusz
8b2a058539
"Hide all with id" popup menu item added
...
Give the user a chance to quickly hide all errors of specific type he is not interested in.
2013-02-07 18:05:51 +01: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
1f87961c16
Fixed recent regression in GUI: multiple messages with same Id in the same line weren't shown
2012-12-07 04:35:14 -08:00
PKEuS
2a1ca20795
Fixed duplicate rows on windows when file name case differs ( #2041 )
2012-12-07 03:54:28 -08:00
Alexander Mai
dc6d0c0dea
Added Copy message Id to context menu ( #4327 )
2012-11-03 21:41:42 +01:00
PKEuS
fc78cac797
Made several functions in GUI static or const
...
Fixed cppcheck message about wrong order in initializer list
2012-10-27 12:10:32 +02:00
PKEuS
c56170acfa
Refactorization: Avoid copying Application instances.
2012-10-27 11:35:00 +02:00
PKEuS
7ffffdfc16
Optionally display error Id in additional column and details view ( #3526 )
2012-10-27 11:16:52 +02:00
PKEuS
14eede1cba
Show translated name of severities in ResultsTree.
...
Removed redundant break; from switch, removed redundant return (MSVC warning)
2012-10-21 11:37:23 +02:00
XhmikosR
85f75179ff
gui: tabs to spaces and remove extra empty lines at the end of files
2012-10-12 17:46:57 +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
larudwer
e0c880133c
on Windows Backslashes in Pathnames must be double quoted, otherwise some editors like e.c. SciTE are not able to open the file.
2012-03-04 15:53:39 +01:00
Daniel Marjamäki
87a118cd16
GUI: Recheck changed files. Ticket: #816
2012-02-14 21:16:11 +01:00
Reijo Tomperi
8cae17fda8
Update year to 2012
2012-01-01 01:05:37 +02:00
Daniel Marjamäki
6f8e42a5af
changed the astyle formatting flags
2011-10-13 20:53:06 +02:00
Kimmo Varis
4c24b6a804
GUI: Rename ErrorItem::id to ErrorItem::errorId.
2011-10-12 22:19:08 +03:00
Kimmo Varis
00ae7dbda3
GUI: Move ShowTypes enum to own class and file.
...
We are using ShowTypes around the GUI codebase so it makes sense
to have it in its own class. And the class also contains related
helper functions instead of scattering them around different
classes.
ShowTypes also contains the visibility settings for all the
GUI severities. Implementation in this commit makes ShowTypes
class to load the visibility settings when it is created. And save
the settings when it is destroyed.
2011-10-11 22:20:36 +03:00
Kimmo Varis
fe1ba6ae37
GUI: Simplify condition.
...
With current code we always have both filename and linenumber for
each error.
2011-07-21 20:15:24 +03:00
Kimmo Varis
e3cd600e4e
GUI: Fix always false condition.
...
Ticket: #2827 (false negative: gui/resultstree.cpp:271 condition always false)
2011-07-17 15:25:46 +03:00
Kimmo Varis
aff8fbc05f
GUI: Show error if no default editor configured.
...
There always should be default editor if there is editor
application configured. But it is possible in some cases that
default application is "lost". So check that we have default
application configured before trying to use it. And inform user
to configure default application instead of silently failing to
open the application (and the file) for the user.
2011-07-17 15:11:24 +03:00
Kimmo Varis
79385f0ff8
GUI: Fix separators when opening file to editor.
...
Ticket: #2916 (Wrong slashes in file path passed to the Windows-text editors)
2011-07-17 14:22:06 +03:00
Zachary Blair
79370258df
Fixed #2758 ([GUI] Provide a means to filter results based on a search string)
2011-05-03 22:30:54 -07:00
Kimmo Varis
f9c97c7b56
GUI: Add support for inconclusive errors.
...
This is the first (and quick) support for the inconclusive errors.
We simply add [Inconclusive] to begin of the summary. This is
temporary solution until better GUI is implemented. XML v1 won't
be supporting inconclusive errors. For XML v2 we need still to
decide what to do.
2011-04-16 14:07:33 +03:00
Kimmo Varis
91345234e0
GUI: Refactoring application definition.
...
Using Application class as method parameters instead of separate
application attributes.
2011-04-02 16:30:47 +03:00
Kimmo Varis
292984db39
GUI: Simplify handling applications with spaces in paths.
...
Earlier user had to add quotation marks around application executable
path in application dialog. Because we could not determine which part
is path and which part is parameters. As we now have separate
variables we can automatically add the quotation marks when needed
before starting the application. This reduces the confusion users
have had about the correct formatting of paths.
2011-04-02 12:30:21 +03:00
Kimmo Varis
1f7d9145b0
GUI: Have separate setting for editor app path and params.
...
Currently combined editor application path + params is a bit
problematic (at least in Windows). We really don't know where the app
path ends and parameters start. So proper quoting is not always
possible.
And application path and command line parameters are clearly
different settings anyway. So make them separate settings. It has
bunch of other positive sides too. Like one can now browse new path
for the application without loosing the parameters.
When starting Cppcheck version with these new settings user is warned
that loading settings had problems and asked to check and fix the
settings.
2011-04-02 12:30:16 +03:00
Kimmo Varis
d9efd53033
GUI: Add back translation of severity texts.
...
Translation of severity texts was temporarily disabled by earlier
commits. Now adding new method to ResultsTree for getting
translated severity string.
2011-03-07 23:35:58 +02:00
Kimmo Varis
0d27966eb8
GUI: Update more severity conversion methods.
2011-03-07 23:11:59 +02:00
Kimmo Varis
5bf98447c9
GUI: Make Severity to ShowType use enum values.
...
Continue converting Severity use in GUI from QString to enum
values.
2011-03-07 22:36:47 +02:00
Kimmo Varis
d2c06501d9
GUI: Convert severity in ErrorLine to enum value.
...
This commit continues converting severity in GUI to enum.
2011-03-07 21:20:09 +02:00
Kimmo Varis
7c589384d2
GUI: Use severity enum in ErrorItem.
...
Convert from using string to enum values for severity in ErrorItem.
Storing and handling severity as string was the easy way earlier
but it is not convenient or efficient way to handle severities.
This commit is the first step in converting severity handling to
use the enum values instead of strings.
2011-03-07 21:10:30 +02:00
Kimmo Varis
e6e616e542
GUI: Fix opening error item with default app.
2011-02-25 12:16:20 +02:00
Erik Lax
a1c1234596
Fixed : #2460 (GUI: Errors are sorted by line number alphabetically instead of numerically)
2011-02-11 21:03:39 +02:00
Reijo Tomperi
226b605774
Change year 2010 -> 2011 in license texts.
2011-01-09 21:33:36 +02:00
Kimmo Varis
2a93aa9fce
GUI: Convert path to native separators before copying it.
...
Ticket #2424 (Windows GUI: "Copy full path" doesn't copy the visible full path if it has been changed in preferences)
We keep paths internally with / separator and only convert to native
separators (for Windows) when showing them. Conversion was missing
from path copying function.
2011-01-06 20:36:35 +02:00
Kimmo Varis
f150f1ba05
GUI: Add GUI for showing 'portability' warnings.
...
Add menuitem, icon and toolbar button for portability warnings.
Ticket #2359 (Gui: Show portability warnings).
2010-12-27 11:06:31 +02:00
Kimmo Varis
a73970483d
GUI: Add "Information" errors items to menu and toolbar.
2010-12-26 15:23:55 +02:00
Kimmo Varis
84180e4fcd
GUI: Change Style-warnings icon.
...
I want to use the current Style-warning icon for Information
messages. So change the Style-warning icon first to new
icon.
2010-12-26 15:23:54 +02:00
Kimmo Varis
31c974c954
GUI: Add Information-severity support.
2010-12-26 15:23:54 +02:00
Kimmo Varis
9186cd8503
GUI: Add partial support for portability severity.
...
Add 'backend' support for the new 'portability' severity. The new
severity is handled, converted to new SHOW_PORTABILITY and added
with correct type to the result view.
There is no menuitem/toolbar button to show/hide portability
items. Likewise there is no line for portability issues in stats-
dialog.
Ticket #2106 (More severities and new xml format)
2010-12-13 11:25:45 +02:00
Kimmo Varis
8e8e1d1d72
GUI: Collect statistics about amount of different severities.
...
Add new class for collecting statistics per each error severity. Add
a new tab to Statistics-dialog for these numbers.
2010-11-30 22:50:57 +02:00
Kimmo Varis
e0702d3ef8
GUI: Allow selecting multiple items in results tree.
...
If multiple items are selected then other than "Hide" context menu
items are disabled.
2010-11-28 23:26:53 +02:00
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