Commit Graph

151 Commits

Author SHA1 Message Date
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