Daniel Marjamäki
8d704f7709
GUI: Rename methods in ProjectFile
2017-07-28 05:08:59 +02:00
Daniel Marjamäki
6c424709b6
GUI: Rename methods in Project
2017-07-28 04:57:28 +02:00
Daniel Marjamäki
80367095db
Fixed #7946 (GUI-CLI: Priorize specific command line parameters to guessing)
2017-06-25 22:18:51 +02:00
David Korth
310226bb6b
gui: Check CFGDIR if it's defined.
...
For quite a while, cppcheck-gui hasn't shown any of the standard
library packages on my Gentoo system. It turns out that cppcheck-gui
doesn't use CFGDIR, but it does use a DATADIR variable stored in
QSettings. Problem is, DATADIR isn't set unless you manually specify
--data-dir, which isn't very intuitive.
This commit adds CFGDIR to the default list of cfg paths if the
CFGDIR macro is defined during the build.
2017-05-11 11:02:10 +02:00
Daniel Marjamäki
549fec1628
GUI: Try to clarify --data-dir message
2017-05-03 21:44:59 +02:00
Daniel Marjamäki
6f2480fb4d
GUI: update whole program analysis
2016-12-09 20:48:32 +01:00
Daniel Marjamäki
84e6163cb8
GUI: Add cppcheck build dir
2016-11-19 20:38:50 +01:00
Daniel Marjamäki
6f133a397b
Fixed #3492 (GUI: after edit project recheck use old settings)
2016-10-01 13:08:58 +02:00
Daniel Marjamäki
cf9ece4187
astyle formatting
...
[ci skip]
2016-10-01 12:04:13 +02:00
Daniel Marjamäki
1beb22a247
Fixed #7746 (Cppcheck can not open compile_commands.json (only compile_database.json))
2016-10-01 11:25:58 +02:00
Daniel Marjamäki
bea35ee04c
GUI: Select configuration that is checked
2016-08-21 15:57:38 +02:00
Daniel Marjamäki
4745d844ad
GUI: don't auto-skip configurations when checking .sln file
2016-08-20 16:14:52 +02:00
Daniel Marjamäki
fe2fa4d343
GUI: Only check current platform when checking sln/vcxproj file
2016-08-20 13:47:25 +02:00
Daniel Marjamäki
9cced993aa
GUI: You can now select Visual Studio files and Compile databases in the Check files dialog
2016-08-20 13:32:48 +02:00
Daniel Marjamäki
f555abb0b5
GUI: Expose --project to gui
2016-08-18 21:58:50 +02:00
PKEuS
ec4a85ecef
Added deprecation warning for XML format 1, which will be removed in cppcheck 1.81
2016-08-07 13:50:52 +02:00
Daniel Marjamäki
85c7456546
http://cppcheck.sourceforge.net => http://cppcheck.net
2016-06-05 18:17:47 +02:00
Akhilesh Nema
efff2c5397
Fixed #7294 (GUI: Add option in 'Settings' for 'Statistics Dialog' display.)
2016-01-16 17:43:57 +01: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
Daniel Marjamäki
79e663dd6f
Settings: Remove '_' prefix for public member variables
2016-01-03 16:18:17 +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
0886ef9c5f
Fixed #3192 (GUI: Allow opening project file without extra parameter from CLI)
2015-12-26 11:47:07 +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
ca3c19c63d
GUI: Fixed compiler warnings
2015-12-07 11:24:54 +01:00
Daniel Marjamäki
0f9d90d2be
Changed Copyrights. Removed my name.
2015-11-18 20:04:50 +01:00
Aleksandr Pikalev
e1342435ca
Fixed #7063 (GUI: better extensions filtering)
...
Make filtering case insensitive to let check *.C, *.CPP, etc files.
Show in file open dialog only files that could be checked.
2015-11-13 20:21:07 +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
6dcb918b78
GUI: Implemented "Recheck all files" button ( #3614 ), renamed "Recheck files" button to "Recheck modified files" ( #3624 )
2015-10-14 19:07:20 +02:00
PKEuS
61d8a73f4c
GUI:
...
- Support enforcing language (#5456 )
- Fixed several broken settings by saving them before creating Settings instance (changing them required restarting cppcheck)
- Updated german translation
2015-10-14 14:32:21 +02:00
Daniel Marjamäki
f5c6561e18
GUI: Readd library editor
2015-09-04 20:46:26 +02:00
Daniel Marjamäki
b7bac8c920
GUI: Disable and hide library editor for now. It will be readded after the release.
2015-09-04 14:20:49 +02:00
Daniel Marjamäki
4946f772ef
GUI: Add libraryeditor
2015-08-16 17:36:10 +02:00
Jan Hellwig
308e7d9ae4
Allow project roots that are relative to the project file's location
2015-08-10 20:48:08 +02:00
PKEuS
cfde690bb2
Fixed two comments and GUI build
2015-07-25 19:17:40 +02:00
Ameen Ali
8379b0e667
GUI: show statistics after check is done
2015-07-14 18:48:51 +02:00
Blubbz0r
2ffffdfdd8
Refactoring
...
Removed PrintReport and PrintPreview slots from mainwindow. Print
actions will instead be directly connected to reultsview.
2015-04-18 17:37:13 +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
XhmikosR
143c5d4875
GUI: Remove bogus period.
...
[ci skip]
2015-03-07 09:49:07 +02:00
PKEuS
70ace39a80
Implemented changes from 787cbcb02e
in GUI
2015-01-10 22:51:45 +01:00
Alexander Mai
d72fbdda27
Fix compiler warnings about incomplete handling of library error codes
2015-01-06 18:10:19 +01: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
Robert Reif
e2f72b4cb1
Fixed #6215 (Move Windows platform types into library)
2014-10-19 07:34:40 +02:00
orbitcowboy
c3c8132bbd
Fixed gcc warning: mainwindow.cpp: In member function ‘Settings MainWindow::GetCppcheckSettings()’:
...
mainwindow.cpp:575:24: warning: enumeration value ‘UNSUPPORTED_FORMAT’ not handled in switch [-Wswitch]
switch (error.errorcode) {
^
2014-09-30 08:07:50 +02:00
Daniel Marjamäki
6f6642dcc5
GUI: In win32, use Win32W instead of Win32A as default platform
2014-06-16 06:30:42 +02:00
Daniel Marjamäki
5471185781
GUI: save platform setting
2014-06-14 18:47:19 +02:00
Daniel Marjamäki
ae6c97eb39
GUI: Show validation errors when loading library fails. Ticket #5847
2014-05-26 20:16:19 +02:00
Daniel Marjamäki
ed78d3e148
Library: Better error reporting when loading fails
2014-05-26 17:00:41 +02:00
Daniel Marjamäki
f3622f729c
GUI: Added DATADIR setting. Related with #5513
2014-03-19 19:34:20 +01:00
Daniel Marjamäki
fd3a8a2a18
Update copyright
2014-02-15 07:45:39 +01:00
Daniel Marjamäki
f0743d3bc4
GUI: add the cfg files in the resources. use these as fallback when normal loading fails.
2014-01-11 08:38:26 +01:00
Daniel Marjamäki
14d65f212f
GUI: Refactoring the loading of libraries in mainwindow
2013-12-31 10:46:44 +01:00
Daniel Marjamäki
803182bf45
Reverted 'GUI: Added CFGDIR qmake flag' there are various installation problems and this only fixes one of them.
2013-12-31 10:35:34 +01:00
Daniel Marjamäki
24a9da3771
GUI: Add suppressions to project file
2013-12-30 22:32:50 +01:00
Daniel Marjamäki
c143b02e67
GUI: Added CFGDIR qmake flag
2013-12-30 09:01:44 +01:00
Daniel Marjamäki
ac91aa4fdf
GUI: Load user-selected library properly
2013-12-30 00:23:42 +01:00
Daniel Marjamäki
9698387d3a
GUI: Add libraries setting to project
2013-12-29 18:06:31 +01:00
Daniel Marjamäki
562387e3ff
library: use extensions when loading std.cfg and posix.cfg
2013-12-26 13:18:54 +01:00
Daniel Marjamäki
6785f07458
GUI: Use tr() to make visible strings translatable.
2013-12-26 11:24:05 +01:00
Daniel Marjamäki
4131c621c9
Fixed #5254 (Warn about missing library files (.cfg))
2013-12-26 11:15:28 +01:00
Daniel Marjamäki
76b907fe65
Fixed #5252 (Improve check: use Library to validate function arguments in invalidFunctionUsage)
2013-12-23 10:06:45 +01:00
Daniel Marjamäki
2b3e1a28d8
Reverted 4f76f8f558
(GUI: wrong multiselection behaviour)
2013-09-07 19:38:40 +02:00
Daniel Marjamäki
6e536b9e35
astyle formatting
2013-08-21 22:53:46 +02:00
Daniel Marjamäki
4f76f8f558
Fixed #4606 (GUI: Allows selection of multiple directories then does nothing)
2013-08-21 22:51:33 +02:00
Daniel Marjamäki
0c5e39a813
Library: Added configuration file std.cfg that clients should load.
2013-07-20 17:12:56 +02:00
Daniel Marjamäki
bafdb80110
Revert "GUI: Added --std setting for GTK"
...
This reverts commit 5f5fdab650
.
The --std setting for GTK has been removed
2013-07-05 21:53:19 +02:00
Daniel Marjamki
5f5fdab650
GUI: Added --std setting for GTK
2013-06-29 19:40:22 +02:00
Daniel Marjamäki
02fbf15557
Fixed #4855 (GUI: The checking of the file will be interrupted because there are too many #ifdef configurations.)
2013-06-18 14:14:33 +02:00
PKEuS
30bdab5d8d
Added support for new code standard options to GUI ( #4132 )
2013-03-02 04:01:21 -08:00
PKEuS
b1b2b9b66b
Use standard Qt buttons in LogView. Recreate LogView when changing language ( #3647 )
2013-03-01 12:07:34 -08:00
PKEuS
c4b711c0a7
Improved GUI translation:
...
- Allow translating texts before before Window is created
-> Translate help text
- Use AboutDialog instead of message box on Windows when starting GUI with -v
2013-03-01 10:11:27 -08:00
PKEuS
d9f982443d
Ran astyle
2013-02-19 12:39:50 -08:00
Mateusz Pusz
2f47b82090
Storing last path implemented according to received feedback
2013-02-17 19:59:57 +01:00
Mateusz Pusz
7301a3e64d
QFileDialog last used paths storage improved
2013-02-17 19:59:56 +01:00
Daniel Marjamäki
b660cf89ef
astyle formatting
2013-02-10 23:53:01 +01:00
Daniel Marjamäki
ea574b0a38
GUI: Enable 'warning' severity implicitly
2013-02-10 23:19:07 +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
unknown
6fdb24b7e7
GUI: Added extra command line parameters for opening a results file and for specifying which folder the results apply to
2013-02-10 07:50:47 +01: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
Daniel Marjamäki
446f326225
GUI: fixed cppcheck-warning for comparing unsigned variable with '<= 0'
2013-02-04 20:38:29 +01:00
Daniel Marjamäki
d5dfd5a006
GUI: removed my clumpsy selectfiles dialog. use the standard file selection dialog instead.
2013-01-04 10:23:16 +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
Frank Zingsheim
a24f224a38
Revert "Support for older Qt versions which do not support "setPlaceholderText""
...
This reverts commit 9784a426f4
.
Support for older Qt versions is not desired.
See https://github.com/danmar/cppcheck/pull/31
2012-12-06 22:21:44 +01:00
Frank Zingsheim
9784a426f4
Support for older Qt versions which do not support "setPlaceholderText"
2012-12-04 22:47:47 +01:00
PKEuS
10d338d4a7
Removed unnecessary call to AboutToShowViewMenu() -> Increase constness of MainWindow::SaveSettings()
2012-10-27 12:26:51 +02:00
PKEuS
7ffffdfc16
Optionally display error Id in additional column and details view ( #3526 )
2012-10-27 11:16:52 +02:00
PKEuS
b06cebe9b5
Simplification: Don't call LoadProjectFile with empty filename
2012-10-21 11:40:01 +02:00
PKEuS
70ad457992
New Feature "Scratchpad" added to GUI. ( #4166 )
2012-10-20 20:14:52 +02:00
PKEuS
e7904bd7a8
Rely on on-demand creation of MainWindow::mLogView
2012-10-20 20:05:02 +02:00
PKEuS
4995ab7828
Fixed #4284
2012-10-14 17:40:51 +02:00
PKEuS
b0f5b7dce0
Fixed freeze when canceling projectfile dialog when creating a new Project.
...
Updated gui.pro (forgot it in last commit)
2012-10-14 14:13:54 +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
XhmikosR
d69293a929
rename "QT" to "Qt"
2012-09-15 15:24:32 +02:00
Kimmo Varis
6d75cdf7c2
GUI: Don't warn about empty results after re-check.
...
If user tried to save results after re-checking files and not
getting new results by the re-check, the save was failed since
Cppcheck thought there were no results. This was caused by wrong
clearing of "has results" flag when removing single items from
the results.
Ticket: #4121 (Bogus error message when saving the report)
2012-09-05 22:01:50 +03:00